home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-04-08 | 342.4 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Mar 2 05:22:53 1992, modified Thu Apr 8 08:41:15 1993, creator HyperCard, type HyperCard stack, 277088 bytes "Aete Editor b3" , at 0x43ae0 73229 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 41 65 74 65 20 45 | 64 69 74 6f 72 20 62 33 |..Aete E|ditor b3|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 04 3a 60 00 | 01 1e 0d a5 d7 b2 7d a7 |.....:`.|......}.|
|00000060| e9 cd eb 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 02 ff 00 00 |........|........|
|00000080| 00 00 3c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..<.STAK|........|
|00000090| 00 00 00 0a 00 04 3a 60 | 00 00 3c 00 00 00 00 00 |......:`|..<.....|
|000000a0| 00 00 00 01 00 00 00 06 | 00 00 0e 3c 00 00 00 18 |........|...<....|
|000000b0| 00 00 3b 83 00 00 30 9e | 00 00 00 00 00 00 00 00 |..;...0.|........|
|000000c0| 00 00 40 d9 00 00 00 00 | 00 05 00 00 10 00 00 00 |..@.....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| dd f5 cf 9c 00 00 00 00 | 00 41 00 10 01 97 02 10 |........|.A......|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d ef 00 00 0c 06 | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 73 75 73 70 65 | 6e 64 53 74 61 63 6b 0d |on suspe|ndStack.|
|00000690| 72 65 73 65 74 20 6d 65 | 6e 75 42 61 72 0d 65 6e |reset me|nuBar.en|
|000006a0| 64 20 73 75 73 70 65 6e | 64 53 74 61 63 6b 0d 0d |d suspen|dStack..|
|000006b0| 6f 6e 20 72 65 73 75 6d | 65 53 74 61 63 6b 0d 69 |on resum|eStack.i|
|000006c0| 66 20 74 68 65 20 75 73 | 65 72 4c 65 76 65 6c 20 |f the us|erLevel |
|000006d0| 69 73 20 31 20 74 68 65 | 6e 20 73 65 74 20 74 68 |is 1 the|n set th|
|000006e0| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 74 6f 20 32 |e userLe|vel to 2|
|000006f0| 0d 41 65 74 65 45 64 74 | 69 6f 72 4d 65 6e 75 0d |.AeteEdt|iorMenu.|
|00000700| 43 68 65 63 6b 50 72 65 | 66 65 72 65 6e 63 65 0d |CheckPre|ference.|
|00000710| 65 6e 64 20 72 65 73 75 | 6d 65 53 74 61 63 6b 0d |end resu|meStack.|
|00000720| 0d 6f 6e 20 41 65 74 65 | 45 64 74 69 6f 72 4d 65 |.on Aete|EdtiorMe|
|00000730| 6e 75 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |nu.if th|ere is a|
|00000740| 20 6d 65 6e 75 20 22 53 | 74 79 6c 65 22 20 74 68 | menu "S|tyle" th|
|00000750| 65 6e 20 64 65 6c 65 74 | 65 20 6d 65 6e 75 20 22 |en delet|e menu "|
|00000760| 53 74 79 6c 65 22 0d 69 | 66 20 74 68 65 72 65 20 |Style".i|f there |
|00000770| 69 73 20 61 20 6d 65 6e | 75 20 22 46 6f 6e 74 22 |is a men|u "Font"|
|00000780| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|00000790| 75 20 22 46 6f 6e 74 22 | 0d 69 66 20 74 68 65 72 |u "Font"|.if ther|
|000007a0| 65 20 69 73 20 61 20 6d | 65 6e 75 20 22 4f 62 6a |e is a m|enu "Obj|
|000007b0| 65 63 74 73 22 20 74 68 | 65 6e 20 64 65 6c 65 74 |ects" th|en delet|
|000007c0| 65 20 6d 65 6e 75 20 22 | 4f 62 6a 65 63 74 73 22 |e menu "|Objects"|
|000007d0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|000007e0| 65 6e 75 20 22 54 6f 6f | 6c 73 22 20 74 68 65 6e |enu "Too|ls" then|
|000007f0| 20 64 65 6c 65 74 65 20 | 6d 65 6e 75 20 22 54 6f | delete |menu "To|
|00000800| 6f 6c 73 22 0d 63 72 65 | 61 74 65 20 6d 65 6e 75 |ols".cre|ate menu|
|00000810| 20 22 41 65 74 65 45 64 | 69 74 6f 72 22 0d 50 75 | "AeteEd|itor".Pu|
|00000820| 74 20 22 49 6e 73 74 72 | 75 63 74 69 6f 6e 73 2c |t "Instr|uctions,|
|00000830| 50 72 65 66 65 72 65 6e | 63 65 73 2c 2d 2c 52 65 |Preferen|ces,-,Re|
|00000840| 73 6f 75 72 63 65 20 54 | 6f 6f 6c 73 2c ae 20 53 |source T|ools,. S|
|00000850| 75 69 74 65 73 2c 45 76 | 65 6e 74 73 2c 43 6c 61 |uites,Ev|ents,Cla|
|00000860| 73 73 65 73 2c 45 6e 75 | 6d 65 72 61 74 69 6f 6e |sses,Enu|meration|
|00000870| 73 2c 43 6f 6d 70 61 72 | 69 73 6f 6e 73 2c 2d 2c |s,Compar|isons,-,|
|00000880| 4e 65 77 20 45 64 69 74 | 6f 72 c9 2c 45 6d 70 74 |New Edit|or.,Empt|
|00000890| 79 20 53 74 61 63 6b c9 | 2c 2d 2c 4c 6f 63 61 6c |y Stack.|,-,Local|
|000008a0| 69 7a 65 20 61 65 74 65 | c9 2c 2d 2c 53 68 6f 77 |ize aete|.,-,Show|
|000008b0| 20 52 65 67 69 73 74 72 | 79 22 20 69 6e 74 6f 20 | Registr|y" into |
|000008c0| 6d 65 6e 75 20 22 41 65 | 74 65 45 64 69 74 6f 72 |menu "Ae|teEditor|
|000008d0| 22 c2 0d 77 69 74 68 20 | 6d 65 6e 75 4d 73 67 20 |"..with |menuMsg |
|000008e0| 22 49 6e 73 74 72 75 63 | 74 69 6f 6e 73 2c 50 72 |"Instruc|tions,Pr|
|000008f0| 65 66 65 72 65 6e 63 65 | 73 43 61 72 64 2c 20 2c |eference|sCard, ,|
|00000900| 72 65 73 6f 75 72 63 65 | 54 6f 6f 6c 73 2c 41 45 |resource|Tools,AE|
|00000910| 53 75 69 74 65 73 42 67 | 2c 65 76 65 6e 74 73 42 |SuitesBg|,eventsB|
|00000920| 67 2c 63 6c 61 73 73 42 | 67 2c 65 6e 75 6d 42 67 |g,classB|g,enumBg|
|00000930| 2c 63 6f 6d 70 61 72 69 | 73 6f 6e 42 67 2c 20 2c |,compari|sonBg, ,|
|00000940| 6d 61 6b 65 4e 65 77 53 | 74 61 63 6b 20 66 61 6c |makeNewS|tack fal|
|00000950| 73 65 2c 65 6d 70 74 79 | 53 74 61 63 6b 2c 20 2c |se,empty|Stack, ,|
|00000960| 6c 6f 63 61 6c 69 7a 65 | 49 74 2c 20 2c 6e 61 6d |localize|It, ,nam|
|00000970| 65 4c 69 73 74 57 69 6e | 64 6f 69 64 22 0d 65 6e |eListWin|doid".en|
|00000980| 64 20 41 65 74 65 45 64 | 74 69 6f 72 4d 65 6e 75 |d AeteEd|tiorMenu|
|00000990| 0d 0d 6f 6e 20 43 68 65 | 63 6b 49 44 54 6f 4e 61 |..on Che|ckIDToNa|
|000009a0| 6d 65 20 6b 65 79 0d 69 | 66 20 74 68 65 72 65 20 |me key.i|f there |
|000009b0| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 52 65 67 |is a win|dow "Reg|
|000009c0| 69 73 74 72 79 20 43 6f | 6e 73 74 61 6e 74 73 22 |istry Co|nstants"|
|000009d0| 20 74 68 65 6e 0d 70 75 | 74 20 63 61 72 64 20 66 | then.pu|t card f|
|000009e0| 69 65 6c 64 20 22 6e 61 | 6d 65 6c 69 73 74 22 20 |ield "na|melist" |
|000009f0| 6f 66 20 63 61 72 64 20 | 22 70 72 65 66 65 72 65 |of card |"prefere|
|00000a00| 6e 63 65 22 20 69 6e 74 | 6f 20 61 65 74 65 4e 61 |nce" int|o aeteNa|
|00000a10| 6d 65 4c 69 73 74 0d 69 | 66 20 6c 65 6e 67 74 68 |meList.i|f length|
|00000a20| 20 6f 66 20 6b 65 79 20 | 3e 20 30 20 74 68 65 6e | of key |> 0 then|
|00000a30| 0d 70 75 74 20 22 27 22 | 20 26 20 52 65 73 54 79 |.put "'"| & ResTy|
|00000a40| 70 65 28 6b 65 79 29 20 | 26 20 22 27 22 20 69 6e |pe(key) |& "'" in|
|00000a50| 74 6f 20 78 0d 70 75 74 | 20 6f 66 66 73 65 74 20 |to x.put| offset |
|00000a60| 28 78 2c 20 61 65 74 65 | 4e 61 6d 65 4c 69 73 74 |(x, aete|NameList|
|00000a70| 29 20 69 6e 74 6f 20 79 | 0d 69 66 20 79 20 3e 20 |) into y|.if y > |
|00000a80| 30 20 74 68 65 6e 0d 70 | 75 74 20 6c 61 73 74 20 |0 then.p|ut last |
|00000a90| 6c 69 6e 65 20 6f 66 20 | 63 68 61 72 20 79 2d 35 |line of |char y-5|
|00000aa0| 30 20 74 6f 20 79 2b 35 | 20 6f 66 20 61 65 74 65 |0 to y+5| of aete|
|00000ab0| 4e 61 6d 65 4c 69 73 74 | 20 69 6e 74 6f 20 7a 0d |NameList| into z.|
|00000ac0| 73 65 6e 64 20 7a 20 74 | 6f 20 77 69 6e 64 6f 77 |send z t|o window|
|00000ad0| 20 22 52 65 67 69 73 74 | 72 79 20 43 6f 6e 73 74 | "Regist|ry Const|
|00000ae0| 61 6e 74 73 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ants".en|d if.end|
|00000af0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 43 | if.end |if.end C|
|00000b00| 68 65 63 6b 49 44 54 6f | 4e 61 6d 65 0d 0d 6f 6e |heckIDTo|Name..on|
|00000b10| 20 47 65 74 4e 65 78 74 | 53 65 6c 65 63 74 65 64 | GetNext|Selected|
|00000b20| 20 2d 2d 20 66 69 6e 64 | 20 6e 65 78 74 20 6c 69 | -- find| next li|
|00000b30| 6e 65 20 77 69 74 68 20 | 73 61 6d 65 20 66 6f 75 |ne with |same fou|
|00000b40| 72 20 6c 65 74 74 65 20 | 63 6f 64 65 0d 67 65 74 |r lette |code.get|
|00000b50| 20 73 65 6c 65 63 74 65 | 64 54 65 78 74 20 6f 66 | selecte|dText of|
|00000b60| 20 77 69 6e 64 6f 77 20 | 22 52 65 67 69 73 74 72 | window |"Registr|
|00000b70| 79 20 43 6f 6e 73 74 61 | 6e 74 73 22 0d 70 75 74 |y Consta|nts".put|
|00000b80| 20 6c 65 6e 67 74 68 20 | 6f 66 20 69 74 20 69 6e | length |of it in|
|00000b90| 74 6f 20 78 0d 70 75 74 | 20 63 68 61 72 20 28 78 |to x.put| char (x|
|00000ba0| 2d 35 29 20 74 6f 20 78 | 20 6f 66 20 69 74 20 69 |-5) to x| of it i|
|00000bb0| 6e 74 6f 20 66 6c 63 0d | 67 65 74 20 73 65 6c 65 |nto flc.|get sele|
|00000bc0| 63 74 65 64 4c 69 6e 65 | 20 6f 66 20 77 69 6e 64 |ctedLine| of wind|
|00000bd0| 6f 77 20 22 52 65 67 69 | 73 74 72 79 20 43 6f 6e |ow "Regi|stry Con|
|00000be0| 73 74 61 6e 74 73 22 0d | 70 75 74 20 69 74 20 69 |stants".|put it i|
|00000bf0| 6e 74 6f 20 73 65 6c 65 | 63 74 65 64 4c 69 6e 65 |nto sele|ctedLine|
|00000c00| 0d 2d 2d 20 73 65 65 20 | 69 66 20 74 68 65 20 66 |.-- see |if the f|
|00000c10| 6f 75 72 2d 6c 65 74 74 | 65 72 2d 63 6f 64 65 20 |our-lett|er-code |
|00000c20| 69 73 20 69 6e 20 74 68 | 65 20 72 65 73 74 20 6f |is in th|e rest o|
|00000c30| 66 20 74 68 65 20 74 65 | 78 74 0d 70 75 74 20 6c |f the te|xt.put l|
|00000c40| 69 6e 65 20 73 65 6c 65 | 63 74 65 64 4c 69 6e 65 |ine sele|ctedLine|
|00000c50| 2b 31 20 74 6f 20 39 39 | 39 39 20 6f 66 20 63 61 |+1 to 99|99 of ca|
|00000c60| 72 64 20 66 69 65 6c 64 | 20 22 6e 61 6d 65 6c 69 |rd field| "nameli|
|00000c70| 73 74 22 20 6f 66 20 63 | 61 72 64 20 22 70 72 65 |st" of c|ard "pre|
|00000c80| 66 65 72 65 6e 63 65 22 | 20 69 6e 74 6f 20 61 65 |ference"| into ae|
|00000c90| 74 65 4e 61 6d 65 4c 69 | 73 74 0d 70 75 74 20 6f |teNameLi|st.put o|
|00000ca0| 66 66 73 65 74 28 66 6c | 63 2c 61 65 74 65 4e 61 |ffset(fl|c,aeteNa|
|00000cb0| 6d 65 4c 69 73 74 29 20 | 69 6e 74 6f 20 78 0d 69 |meList) |into x.i|
|00000cc0| 66 20 78 20 3e 20 30 20 | 74 68 65 6e 0d 70 75 74 |f x > 0 |then.put|
|00000cd0| 20 6c 61 73 74 20 6c 69 | 6e 65 20 6f 66 20 63 68 | last li|ne of ch|
|00000ce0| 61 72 20 78 2d 35 30 20 | 74 6f 20 78 2b 35 20 6f |ar x-50 |to x+5 o|
|00000cf0| 66 20 61 65 74 65 4e 61 | 6d 65 4c 69 73 74 20 69 |f aeteNa|meList i|
|00000d00| 6e 74 6f 20 7a 0d 73 65 | 6e 64 20 7a 20 74 6f 20 |nto z.se|nd z to |
|00000d10| 77 69 6e 64 6f 77 20 22 | 52 65 67 69 73 74 72 79 |window "|Registry|
|00000d20| 20 43 6f 6e 73 74 61 6e | 74 73 22 0d 65 6c 73 65 | Constan|ts".else|
|00000d30| 20 2d 2d 20 77 72 61 70 | 20 61 72 6f 75 6e 64 0d | -- wrap| around.|
|00000d40| 43 68 65 63 6b 49 44 54 | 6f 4e 61 6d 65 20 63 68 |CheckIDT|oName ch|
|00000d50| 61 72 20 32 20 74 6f 20 | 35 20 6f 66 20 66 6c 63 |ar 2 to |5 of flc|
|00000d60| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 47 65 74 4e |.end if.|end GetN|
|00000d70| 65 78 74 53 65 6c 65 63 | 74 65 64 0d 0d 6f 6e 20 |extSelec|ted..on |
|00000d80| 43 68 65 63 6b 4e 61 6d | 65 54 6f 49 44 20 6b 73 |CheckNam|eToID ks|
|00000d90| 0d 70 75 74 20 43 68 61 | 72 54 6f 4e 75 6d 28 6b |.put Cha|rToNum(k|
|00000da0| 73 29 20 69 6e 74 6f 20 | 79 0d 69 66 20 28 79 20 |s) into |y.if (y |
|00000db0| 3d 20 33 30 29 20 6f 72 | 20 28 79 20 3d 20 33 31 |= 30) or| (y = 31|
|00000dc0| 29 20 74 68 65 6e 20 2d | 2d 20 75 70 2f 64 6f 77 |) then -|- up/dow|
|00000dd0| 6e 20 61 72 72 6f 77 20 | 67 6f 20 74 6f 20 77 69 |n arrow |go to wi|
|00000de0| 6e 64 6f 69 64 0d 73 65 | 6e 64 20 6b 73 20 74 6f |ndoid.se|nd ks to|
|00000df0| 20 77 69 6e 64 6f 77 20 | 22 52 65 67 69 73 74 72 | window |"Registr|
|00000e00| 79 20 43 6f 6e 73 74 61 | 6e 74 73 22 0d 65 6c 73 |y Consta|nts".els|
|00000e10| 65 20 69 66 20 79 20 3d | 20 31 33 20 74 68 65 6e |e if y =| 13 then|
|00000e20| 20 2d 2d 20 63 72 20 73 | 75 63 6b 73 20 69 6e 20 | -- cr s|ucks in |
|00000e30| 74 68 65 20 63 75 72 72 | 65 6e 74 20 34 20 6c 65 |the curr|ent 4 le|
|00000e40| 74 74 65 72 20 63 6f 64 | 65 0d 67 65 74 20 73 65 |tter cod|e.get se|
|00000e50| 6c 65 63 74 65 64 54 65 | 78 74 20 6f 66 20 77 69 |lectedTe|xt of wi|
|00000e60| 6e 64 6f 77 20 22 52 65 | 67 69 73 74 72 79 20 43 |ndow "Re|gistry C|
|00000e70| 6f 6e 73 74 61 6e 74 73 | 22 0d 70 75 74 20 6c 65 |onstants|".put le|
|00000e80| 6e 67 74 68 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |ngth of |it into |
|00000e90| 78 0d 70 75 74 20 63 68 | 61 72 20 28 78 2d 34 29 |x.put ch|ar (x-4)|
|00000ea0| 20 74 6f 20 28 78 2d 31 | 29 20 6f 66 20 69 74 20 | to (x-1|) of it |
|00000eb0| 69 6e 74 6f 20 74 61 72 | 67 65 74 0d 65 6c 73 65 |into tar|get.else|
|00000ec0| 20 69 66 20 79 20 3d 20 | 32 39 20 74 68 65 6e 0d | if y = |29 then.|
|00000ed0| 47 65 74 4e 65 78 74 53 | 65 6c 65 63 74 65 64 0d |GetNextS|elected.|
|00000ee0| 65 6c 73 65 0d 73 65 6e | 64 20 22 6b 65 79 64 6f |else.sen|d "keydo|
|00000ef0| 77 6e 20 6b 73 22 20 74 | 6f 20 48 79 70 65 72 43 |wn ks" t|o HyperC|
|00000f00| 61 72 64 0d 69 66 20 77 | 6f 72 64 20 6f 6e 65 20 |ard.if w|ord one |
|00000f10| 6f 66 20 74 61 72 67 65 | 74 20 69 73 20 6e 6f 74 |of targe|t is not|
|00000f20| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 73 65 6e 64 | empty t|hen.send|
|00000f30| 20 76 61 6c 75 65 20 6f | 66 20 74 61 72 67 65 74 | value o|f target|
|00000f40| 20 74 6f 20 77 69 6e 64 | 6f 77 20 22 52 65 67 69 | to wind|ow "Regi|
|00000f50| 73 74 72 79 20 43 6f 6e | 73 74 61 6e 74 73 22 0d |stry Con|stants".|
|00000f60| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00000f70| 64 20 43 68 65 63 6b 4e | 61 6d 65 54 6f 49 44 0d |d CheckN|ameToID.|
|00000f80| 0d 6f 6e 20 6e 61 6d 65 | 4c 69 73 74 57 69 6e 64 |.on name|ListWind|
|00000f90| 6f 69 64 0d 70 75 74 20 | 63 61 72 64 20 66 69 65 |oid.put |card fie|
|00000fa0| 6c 64 20 22 6e 61 6d 65 | 6c 69 73 74 22 20 6f 66 |ld "name|list" of|
|00000fb0| 20 63 61 72 64 20 22 70 | 72 65 66 65 72 65 6e 63 | card "p|referenc|
|00000fc0| 65 22 20 69 6e 74 6f 20 | 61 65 74 65 4e 61 6d 65 |e" into |aeteName|
|00000fd0| 4c 69 73 74 0d 4c 69 73 | 74 6f 69 64 20 22 52 65 |List.Lis|toid "Re|
|00000fe0| 67 69 73 74 72 79 20 43 | 6f 6e 73 74 61 6e 74 73 |gistry C|onstants|
|00000ff0| 22 2c 61 65 74 65 4e 61 | 6d 65 4c 69 73 74 0d 65 |",aeteNa|meList.e|
|00001000| 6e 64 20 6e 61 6d 65 4c | 69 73 74 57 69 6e 64 6f |nd nameL|istWindo|
|00001010| 69 64 0d 0d 6f 6e 20 4c | 69 73 74 6f 69 64 53 65 |id..on L|istoidSe|
|00001020| 6c 65 63 74 20 77 68 61 | 74 2c 77 68 65 72 65 0d |lect wha|t,where.|
|00001030| 69 66 20 77 68 65 72 65 | 20 3d 20 22 52 65 67 69 |if where| = "Regi|
|00001040| 73 74 72 79 20 43 6f 6e | 73 74 61 6e 74 73 22 20 |stry Con|stants" |
|00001050| 74 68 65 6e 0d 70 75 74 | 20 6f 66 66 73 65 74 28 |then.put| offset(|
|00001060| 22 3d 27 22 2c 20 77 68 | 61 74 29 20 69 6e 74 6f |"='", wh|at) into|
|00001070| 20 73 74 61 72 74 48 65 | 72 65 0d 69 66 20 73 74 | startHe|re.if st|
|00001080| 61 72 74 48 65 72 65 20 | 3e 20 30 20 74 68 65 6e |artHere |> 0 then|
|00001090| 0d 64 65 6c 65 74 65 20 | 63 68 61 72 20 31 20 74 |.delete |char 1 t|
|000010a0| 6f 20 28 73 74 61 72 74 | 48 65 72 65 2b 31 29 20 |o (start|Here+1) |
|000010b0| 6f 66 20 77 68 61 74 0d | 69 66 20 6c 61 73 74 20 |of what.|if last |
|000010c0| 63 68 61 72 20 6f 66 20 | 77 68 61 74 20 3d 20 22 |char of |what = "|
|000010d0| 27 22 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6c |'" then |delete l|
|000010e0| 61 73 74 20 63 68 61 72 | 20 6f 66 20 77 68 61 74 |ast char| of what|
|000010f0| 0d 70 75 74 20 77 68 61 | 74 20 69 6e 74 6f 20 74 |.put wha|t into t|
|00001100| 68 65 20 53 65 6c 65 63 | 74 65 64 46 69 65 6c 64 |he Selec|tedField|
|00001110| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00001120| 6e 64 20 4c 69 73 74 6f | 69 64 53 65 6c 65 63 74 |nd Listo|idSelect|
|00001130| 0d 0d 6f 6e 20 49 6e 73 | 74 72 75 63 74 69 6f 6e |..on Ins|truction|
|00001140| 73 0d 67 6c 6f 62 61 6c | 20 67 57 68 65 72 65 46 |s.global| gWhereF|
|00001150| 72 6f 6d 0d 70 75 73 68 | 20 63 64 0d 70 6f 70 20 |rom.push| cd.pop |
|00001160| 63 64 20 69 6e 74 6f 20 | 67 57 68 65 72 65 46 72 |cd into |gWhereFr|
|00001170| 6f 6d 0d 67 6f 20 63 64 | 20 22 49 6e 73 74 72 75 |om.go cd| "Instru|
|00001180| 63 74 69 6f 6e 73 22 0d | 65 6e 64 20 49 6e 73 74 |ctions".|end Inst|
|00001190| 72 75 63 74 69 6f 6e 73 | 0d 0d 6f 6e 20 50 72 65 |ructions|..on Pre|
|000011a0| 66 65 72 65 6e 63 65 73 | 43 61 72 64 0d 67 6c 6f |ferences|Card.glo|
|000011b0| 62 61 6c 20 67 57 68 65 | 72 65 46 72 6f 6d 0d 70 |bal gWhe|reFrom.p|
|000011c0| 75 73 68 20 63 64 0d 70 | 6f 70 20 63 64 20 69 6e |ush cd.p|op cd in|
|000011d0| 74 6f 20 67 57 68 65 72 | 65 46 72 6f 6d 0d 67 6f |to gWher|eFrom.go|
|000011e0| 20 63 64 20 22 70 72 65 | 66 65 72 65 6e 63 65 22 | cd "pre|ference"|
|000011f0| 0d 65 6e 64 20 50 72 65 | 66 65 72 65 6e 63 65 73 |.end Pre|ferences|
|00001200| 43 61 72 64 0d 0d 6f 6e | 20 72 65 73 6f 75 72 63 |Card..on| resourc|
|00001210| 65 54 6f 6f 6c 73 0d 67 | 6c 6f 62 61 6c 20 67 57 |eTools.g|lobal gW|
|00001220| 68 65 72 65 46 72 6f 6d | 0d 70 75 73 68 20 63 64 |hereFrom|.push cd|
|00001230| 0d 70 6f 70 20 63 64 20 | 69 6e 74 6f 20 67 57 68 |.pop cd |into gWh|
|00001240| 65 72 65 46 72 6f 6d 0d | 67 6f 20 63 64 20 22 6d |ereFrom.|go cd "m|
|00001250| 61 69 6e 4d 65 6e 75 22 | 0d 65 6e 64 20 72 65 73 |ainMenu"|.end res|
|00001260| 6f 75 72 63 65 54 6f 6f | 6c 73 0d 0d 6f 6e 20 41 |ourceToo|ls..on A|
|00001270| 45 53 75 69 74 65 73 42 | 67 0d 67 6c 6f 62 61 6c |ESuitesB|g.global|
|00001280| 20 67 57 68 65 72 65 46 | 72 6f 6d 0d 70 75 73 68 | gWhereF|rom.push|
|00001290| 20 63 64 0d 70 6f 70 20 | 63 64 20 69 6e 74 6f 20 | cd.pop |cd into |
|000012a0| 67 57 68 65 72 65 46 72 | 6f 6d 0d 69 66 20 74 68 |gWhereFr|om.if th|
|000012b0| 65 72 65 20 69 73 20 61 | 20 63 64 20 32 20 6f 66 |ere is a| cd 2 of|
|000012c0| 20 62 67 20 22 73 75 69 | 74 65 49 6e 66 6f 22 20 | bg "sui|teInfo" |
|000012d0| 74 68 65 6e 0d 67 6f 20 | 63 64 20 32 20 6f 66 20 |then.go |cd 2 of |
|000012e0| 62 67 20 22 73 75 69 74 | 65 49 6e 66 6f 22 0d 65 |bg "suit|eInfo".e|
|000012f0| 6c 73 65 0d 67 6f 20 62 | 67 20 22 73 75 69 74 65 |lse.go b|g "suite|
|00001300| 49 6e 66 6f 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Info".en|d if.end|
|00001310| 20 41 45 53 75 69 74 65 | 73 42 67 0d 0d 6f 6e 20 | AESuite|sBg..on |
|00001320| 65 76 65 6e 74 73 42 67 | 0d 67 6c 6f 62 61 6c 20 |eventsBg|.global |
|00001330| 67 57 68 65 72 65 46 72 | 6f 6d 0d 70 75 73 68 20 |gWhereFr|om.push |
|00001340| 63 64 0d 70 6f 70 20 63 | 64 20 69 6e 74 6f 20 67 |cd.pop c|d into g|
|00001350| 57 68 65 72 65 46 72 6f | 6d 0d 69 66 20 74 68 65 |WhereFro|m.if the|
|00001360| 72 65 20 69 73 20 61 20 | 63 64 20 32 20 6f 66 20 |re is a |cd 2 of |
|00001370| 62 67 20 22 65 76 65 6e | 74 73 22 20 74 68 65 6e |bg "even|ts" then|
|00001380| 0d 67 6f 20 63 64 20 32 | 20 6f 66 20 62 67 20 22 |.go cd 2| of bg "|
|00001390| 65 76 65 6e 74 73 22 0d | 65 6c 73 65 0d 67 6f 20 |events".|else.go |
|000013a0| 62 67 20 22 65 76 65 6e | 74 73 22 0d 65 6e 64 20 |bg "even|ts".end |
|000013b0| 69 66 0d 65 6e 64 20 65 | 76 65 6e 74 73 42 67 0d |if.end e|ventsBg.|
|000013c0| 0d 6f 6e 20 63 6c 61 73 | 73 42 67 0d 67 6c 6f 62 |.on clas|sBg.glob|
|000013d0| 61 6c 20 67 57 68 65 72 | 65 46 72 6f 6d 0d 70 75 |al gWher|eFrom.pu|
|000013e0| 73 68 20 63 64 0d 70 6f | 70 20 63 64 20 69 6e 74 |sh cd.po|p cd int|
|000013f0| 6f 20 67 57 68 65 72 65 | 46 72 6f 6d 0d 69 66 20 |o gWhere|From.if |
|00001400| 74 68 65 72 65 20 69 73 | 20 61 20 63 64 20 32 20 |there is| a cd 2 |
|00001410| 6f 66 20 62 67 20 22 63 | 6c 61 73 73 22 20 74 68 |of bg "c|lass" th|
|00001420| 65 6e 0d 67 6f 20 63 64 | 20 32 20 6f 66 20 62 67 |en.go cd| 2 of bg|
|00001430| 20 22 63 6c 61 73 73 22 | 0d 65 6c 73 65 0d 67 6f | "class"|.else.go|
|00001440| 20 62 67 20 22 63 6c 61 | 73 73 22 0d 65 6e 64 20 | bg "cla|ss".end |
|00001450| 69 66 0d 65 6e 64 20 63 | 6c 61 73 73 42 67 0d 0d |if.end c|lassBg..|
|00001460| 6f 6e 20 65 6e 75 6d 42 | 67 0d 67 6c 6f 62 61 6c |on enumB|g.global|
|00001470| 20 67 57 68 65 72 65 46 | 72 6f 6d 0d 70 75 73 68 | gWhereF|rom.push|
|00001480| 20 63 64 0d 70 6f 70 20 | 63 64 20 69 6e 74 6f 20 | cd.pop |cd into |
|00001490| 67 57 68 65 72 65 46 72 | 6f 6d 0d 69 66 20 74 68 |gWhereFr|om.if th|
|000014a0| 65 72 65 20 69 73 20 61 | 20 63 64 20 32 20 6f 66 |ere is a| cd 2 of|
|000014b0| 20 62 67 20 22 65 6e 75 | 6d 65 72 61 74 69 6f 6e | bg "enu|meration|
|000014c0| 22 20 74 68 65 6e 0d 67 | 6f 20 63 64 20 32 20 6f |" then.g|o cd 2 o|
|000014d0| 66 20 62 67 20 22 65 6e | 75 6d 65 72 61 74 69 6f |f bg "en|umeratio|
|000014e0| 6e 22 0d 65 6c 73 65 0d | 67 6f 20 62 67 20 22 65 |n".else.|go bg "e|
|000014f0| 6e 75 6d 65 72 61 74 69 | 6f 6e 22 0d 65 6e 64 20 |numerati|on".end |
|00001500| 69 66 0d 65 6e 64 20 65 | 6e 75 6d 42 67 0d 0d 6f |if.end e|numBg..o|
|00001510| 6e 20 63 6f 6d 70 61 72 | 69 73 6f 6e 42 67 0d 67 |n compar|isonBg.g|
|00001520| 6c 6f 62 61 6c 20 67 57 | 68 65 72 65 46 72 6f 6d |lobal gW|hereFrom|
|00001530| 0d 70 75 73 68 20 63 64 | 0d 70 6f 70 20 63 64 20 |.push cd|.pop cd |
|00001540| 69 6e 74 6f 20 67 57 68 | 65 72 65 46 72 6f 6d 0d |into gWh|ereFrom.|
|00001550| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 63 64 |if there| is a cd|
|00001560| 20 32 20 6f 66 20 62 67 | 20 22 63 6f 6d 70 61 72 | 2 of bg| "compar|
|00001570| 69 73 6f 6e 22 20 74 68 | 65 6e 0d 67 6f 20 63 64 |ison" th|en.go cd|
|00001580| 20 32 20 6f 66 20 62 67 | 20 22 63 6f 6d 70 61 72 | 2 of bg| "compar|
|00001590| 69 73 6f 6e 22 0d 65 6c | 73 65 0d 67 6f 20 62 67 |ison".el|se.go bg|
|000015a0| 20 22 63 6f 6d 70 61 72 | 69 73 6f 6e 22 0d 65 6e | "compar|ison".en|
|000015b0| 64 20 69 66 0d 65 6e 64 | 20 63 6f 6d 70 61 72 69 |d if.end| compari|
|000015c0| 73 6f 6e 42 67 0d 0d 6f | 6e 20 6d 61 6b 65 4e 65 |sonBg..o|n makeNe|
|000015d0| 77 53 74 61 63 6b 20 6e | 65 77 57 69 6e 64 6f 77 |wStack n|ewWindow|
|000015e0| 0d 67 65 74 20 74 68 65 | 20 73 68 69 66 74 4b 65 |.get the| shiftKe|
|000015f0| 79 20 69 73 20 64 6f 77 | 6e 0d 70 75 74 20 69 74 |y is dow|n.put it|
|00001600| 20 69 6e 74 6f 20 73 68 | 69 66 74 44 6f 77 6e 0d | into sh|iftDown.|
|00001610| 61 73 6b 20 66 69 6c 65 | 20 22 53 61 76 65 20 61 |ask file| "Save a|
|00001620| 20 6e 65 77 20 65 64 69 | 74 6f 72 20 73 74 61 63 | new edi|tor stac|
|00001630| 6b 20 61 73 3a 22 0d 69 | 66 20 74 68 65 20 72 65 |k as:".i|f the re|
|00001640| 73 75 6c 74 20 69 73 20 | 22 43 61 6e 63 65 6c 22 |sult is |"Cancel"|
|00001650| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 61 6b 65 4e | then ex|it makeN|
|00001660| 65 77 53 74 61 63 6b 0d | 69 66 20 69 74 20 69 73 |ewStack.|if it is|
|00001670| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 61 6e 73 77 | empty t|hen.answ|
|00001680| 65 72 20 22 59 6f 75 20 | 68 61 76 65 20 74 6f 20 |er "You |have to |
|00001690| 73 75 70 70 6c 79 20 61 | 20 6e 61 6d 65 2e 22 0d |supply a| name.".|
|000016a0| 61 73 6b 20 66 69 6c 65 | 20 22 43 72 65 61 74 65 |ask file| "Create|
|000016b0| 20 61 20 6e 65 77 20 73 | 74 61 63 6b 20 61 73 22 | a new s|tack as"|
|000016c0| 0d 65 6e 64 20 69 66 0d | 69 66 20 74 68 65 20 66 |.end if.|if the f|
|000016d0| 72 65 65 73 69 7a 65 20 | 6f 66 20 74 68 69 73 20 |reesize |of this |
|000016e0| 73 74 61 63 6b 20 3e 20 | 33 32 37 36 38 20 74 68 |stack > |32768 th|
|000016f0| 65 6e 20 64 6f 4d 65 6e | 75 20 22 43 6f 6d 70 61 |en doMen|u "Compa|
|00001700| 63 74 20 53 74 61 63 6b | 22 0d 73 61 76 65 20 74 |ct Stack|".save t|
|00001710| 68 69 73 20 73 74 61 63 | 6b 20 61 73 20 69 74 0d |his stac|k as it.|
|00001720| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 3c 3e |if the r|esult <>|
|00001730| 20 22 22 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 | "" then|.answer |
|00001740| 22 49 74 20 66 61 69 6c | 73 2c 22 20 26 26 20 74 |"It fail|s," && t|
|00001750| 68 65 20 72 65 73 75 6c | 74 0d 65 78 69 74 20 74 |he resul|t.exit t|
|00001760| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6e 64 20 |o HyperC|ard.end |
|00001770| 69 66 0d 69 66 20 73 68 | 69 66 74 44 6f 77 6e 20 |if.if sh|iftDown |
|00001780| 74 68 65 6e 0d 67 6f 20 | 73 74 61 63 6b 20 69 74 |then.go |stack it|
|00001790| 20 69 6e 20 61 20 6e 65 | 77 20 77 69 6e 64 6f 77 | in a ne|w window|
|000017a0| 0d 70 75 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |.put the| loc of |
|000017b0| 63 64 20 77 69 6e 64 6f | 77 20 69 6e 74 6f 20 77 |cd windo|w into w|
|000017c0| 69 6e 64 4c 6f 63 0d 73 | 65 74 20 74 68 65 20 6c |indLoc.s|et the l|
|000017d0| 6f 63 20 6f 66 20 63 64 | 20 77 69 6e 64 6f 77 20 |oc of cd| window |
|000017e0| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 77 69 6e |to item |1 of win|
|000017f0| 64 4c 6f 63 20 2b 32 30 | 2c 20 69 74 65 6d 20 32 |dLoc +20|, item 2|
|00001800| 20 6f 66 20 77 69 6e 64 | 4c 6f 63 20 2b 32 30 0d | of wind|Loc +20.|
|00001810| 65 6c 73 65 0d 69 66 20 | 6e 65 77 57 69 6e 64 6f |else.if |newWindo|
|00001820| 77 20 3c 3e 20 74 72 75 | 65 20 74 68 65 6e 0d 67 |w <> tru|e then.g|
|00001830| 6f 20 73 74 61 63 6b 20 | 69 74 0d 65 6c 73 65 0d |o stack |it.else.|
|00001840| 67 6f 20 73 74 61 63 6b | 20 69 74 20 69 6e 20 61 |go stack| it in a|
|00001850| 20 6e 65 77 20 77 69 6e | 64 6f 77 0d 70 75 74 20 | new win|dow.put |
|00001860| 74 68 65 20 6c 6f 63 20 | 6f 66 20 63 64 20 77 69 |the loc |of cd wi|
|00001870| 6e 64 6f 77 20 69 6e 74 | 6f 20 77 69 6e 64 4c 6f |ndow int|o windLo|
|00001880| 63 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 |c.set th|e loc of|
|00001890| 20 63 64 20 77 69 6e 64 | 6f 77 20 74 6f 20 69 74 | cd wind|ow to it|
|000018a0| 65 6d 20 31 20 6f 66 20 | 77 69 6e 64 4c 6f 63 20 |em 1 of |windLoc |
|000018b0| 2b 32 30 2c 20 69 74 65 | 6d 20 32 20 6f 66 20 77 |+20, ite|m 2 of w|
|000018c0| 69 6e 64 4c 6f 63 20 2b | 32 30 0d 65 6e 64 20 69 |indLoc +|20.end i|
|000018d0| 66 0d 65 6e 64 20 69 66 | 0d 65 6d 70 74 79 53 74 |f.end if|.emptySt|
|000018e0| 61 63 6b 20 79 65 73 0d | 65 6e 64 20 6d 61 6b 65 |ack yes.|end make|
|000018f0| 4e 65 77 53 74 61 63 6b | 0d 0d 6f 6e 20 6c 6f 63 |NewStack|..on loc|
|00001900| 61 6c 69 7a 65 49 74 0d | 61 73 6b 20 66 69 6c 65 |alizeIt.|ask file|
|00001910| 20 22 43 72 65 61 74 65 | 20 74 72 61 6e 73 6c 61 | "Create| transla|
|00001920| 74 69 6f 6e 20 73 74 61 | 63 6b 20 77 68 65 72 65 |tion sta|ck where|
|00001930| 3f 22 20 77 69 74 68 20 | 28 28 73 68 6f 72 74 20 |?" with |((short |
|00001940| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00001950| 63 6b 29 20 26 26 20 22 | 4c 6f 63 61 6c 69 7a 65 |ck) && "|Localize|
|00001960| 64 22 29 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |d").if t|he resul|
|00001970| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |t is "Ca|ncel" th|
|00001980| 65 6e 20 65 78 69 74 20 | 6c 6f 63 61 6c 69 7a 65 |en exit |localize|
|00001990| 49 74 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |It.if it| is empt|
|000019a0| 79 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 59 |y then.a|nswer "Y|
|000019b0| 6f 75 20 68 61 76 65 20 | 74 6f 20 73 75 70 70 6c |ou have |to suppl|
|000019c0| 79 20 61 20 6e 61 6d 65 | 2e 22 0d 61 73 6b 20 66 |y a name|.".ask f|
|000019d0| 69 6c 65 20 22 43 72 65 | 61 74 65 20 74 72 61 6e |ile "Cre|ate tran|
|000019e0| 73 6c 61 74 69 6f 6e 20 | 73 74 61 63 6b 20 77 68 |slation |stack wh|
|000019f0| 65 72 65 3f 22 0d 65 6e | 64 20 69 66 0d 69 66 20 |ere?".en|d if.if |
|00001a00| 74 68 65 20 66 72 65 65 | 73 69 7a 65 20 6f 66 20 |the free|size of |
|00001a10| 74 68 69 73 20 73 74 61 | 63 6b 20 3e 20 33 32 37 |this sta|ck > 327|
|00001a20| 36 38 20 74 68 65 6e 20 | 64 6f 4d 65 6e 75 20 22 |68 then |doMenu "|
|00001a30| 43 6f 6d 70 61 63 74 20 | 53 74 61 63 6b 22 0d 73 |Compact |Stack".s|
|00001a40| 61 76 65 20 74 68 69 73 | 20 73 74 61 63 6b 20 61 |ave this| stack a|
|00001a50| 73 20 69 74 0d 69 66 20 | 74 68 65 20 72 65 73 75 |s it.if |the resu|
|00001a60| 6c 74 20 3c 3e 20 22 22 | 20 74 68 65 6e 0d 61 6e |lt <> ""| then.an|
|00001a70| 73 77 65 72 20 22 49 74 | 20 66 61 69 6c 73 2c 22 |swer "It| fails,"|
|00001a80| 20 26 26 20 74 68 65 20 | 72 65 73 75 6c 74 0d 65 | && the |result.e|
|00001a90| 78 69 74 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |xit to H|yperCard|
|00001aa0| 0d 65 6e 64 20 69 66 0d | 67 6f 20 73 74 61 63 6b |.end if.|go stack|
|00001ab0| 20 69 74 20 69 6e 20 61 | 20 6e 65 77 20 77 69 6e | it in a| new win|
|00001ac0| 64 6f 77 0d 70 75 74 20 | 74 68 65 20 6c 6f 63 20 |dow.put |the loc |
|00001ad0| 6f 66 20 63 64 20 77 69 | 6e 64 6f 77 20 69 6e 74 |of cd wi|ndow int|
|00001ae0| 6f 20 77 69 6e 64 4c 6f | 63 0d 73 65 74 20 74 68 |o windLo|c.set th|
|00001af0| 65 20 6c 6f 63 20 6f 66 | 20 63 64 20 77 69 6e 64 |e loc of| cd wind|
|00001b00| 6f 77 20 74 6f 20 69 74 | 65 6d 20 31 20 6f 66 20 |ow to it|em 1 of |
|00001b10| 77 69 6e 64 4c 6f 63 20 | 2b 32 30 2c 20 69 74 65 |windLoc |+20, ite|
|00001b20| 6d 20 32 20 6f 66 20 77 | 69 6e 64 4c 6f 63 20 2b |m 2 of w|indLoc +|
|00001b30| 32 30 0d 4c 6f 63 61 6c | 69 7a 61 74 69 6f 6e 20 |20.Local|ization |
|00001b40| 66 61 6c 73 65 0d 65 6e | 64 20 6c 6f 63 61 6c 69 |false.en|d locali|
|00001b50| 7a 65 49 74 0d 0d 6f 6e | 20 6f 70 65 6e 73 74 61 |zeIt..on| opensta|
|00001b60| 63 6b 0d 67 6c 6f 62 61 | 6c 20 69 6e 45 64 69 74 |ck.globa|l inEdit|
|00001b70| 2c 20 67 44 65 6c 65 74 | 65 53 75 69 74 65 0d 70 |, gDelet|eSuite.p|
|00001b80| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 67 44 |ut false| into gD|
|00001b90| 65 6c 65 74 65 53 75 69 | 74 65 0d 70 75 74 20 74 |eleteSui|te.put t|
|00001ba0| 72 75 65 20 69 6e 74 6f | 20 69 6e 45 64 69 74 0d |rue into| inEdit.|
|00001bb0| 69 66 20 74 68 65 20 73 | 63 72 65 65 6e 52 65 63 |if the s|creenRec|
|00001bc0| 74 20 69 73 20 22 30 2c | 30 2c 35 31 32 2c 33 34 |t is "0,|0,512,34|
|00001bd0| 32 22 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |2" then |set the |
|00001be0| 6c 6f 63 20 6f 66 20 63 | 64 20 77 69 6e 64 6f 77 |loc of c|d window|
|00001bf0| 20 74 6f 20 22 30 2c 30 | 22 0d 69 66 20 74 68 65 | to "0,0|".if the|
|00001c00| 20 75 73 65 72 4c 65 76 | 65 6c 20 69 73 20 31 20 | userLev|el is 1 |
|00001c10| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 75 73 65 |then set| the use|
|00001c20| 72 4c 65 76 65 6c 20 74 | 6f 20 32 0d 41 65 74 65 |rLevel t|o 2.Aete|
|00001c30| 45 64 74 69 6f 72 4d 65 | 6e 75 0d 43 68 65 63 6b |EdtiorMe|nu.Check|
|00001c40| 50 72 65 66 65 72 65 6e | 63 65 0d 65 6e 64 20 6f |Preferen|ce.end o|
|00001c50| 70 65 6e 73 74 61 63 6b | 0d 0d 6f 6e 20 63 6c 6f |penstack|..on clo|
|00001c60| 73 65 43 61 72 64 0d 68 | 6d 52 65 6d 6f 76 65 42 |seCard.h|mRemoveB|
|00001c70| 61 6c 6c 6f 6f 6e 0d 70 | 61 73 73 20 63 6c 6f 73 |alloon.p|ass clos|
|00001c80| 65 43 61 72 64 0d 65 6e | 64 20 63 6c 6f 73 65 43 |eCard.en|d closeC|
|00001c90| 61 72 64 0d 0d 6f 6e 20 | 63 6c 6f 73 65 53 74 61 |ard..on |closeSta|
|00001ca0| 63 6b 0d 72 65 73 65 74 | 20 6d 65 6e 75 42 61 72 |ck.reset| menuBar|
|00001cb0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00001cc0| 69 6e 64 6f 77 20 22 52 | 65 67 69 73 74 72 79 20 |indow "R|egistry |
|00001cd0| 43 6f 6e 73 74 61 6e 74 | 73 22 0d 74 68 65 6e 20 |Constant|s".then |
|00001ce0| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 22 52 65 |close wi|ndow "Re|
|00001cf0| 67 69 73 74 72 79 20 43 | 6f 6e 73 74 61 6e 74 73 |gistry C|onstants|
|00001d00| 22 0d 69 66 20 74 68 65 | 20 66 72 65 65 73 69 7a |".if the| freesiz|
|00001d10| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00001d20| 3e 20 33 32 37 36 38 20 | 74 68 65 6e 20 64 6f 4d |> 32768 |then doM|
|00001d30| 65 6e 75 20 22 43 6f 6d | 70 61 63 74 20 53 74 61 |enu "Com|pact Sta|
|00001d40| 63 6b 22 0d 65 6e 64 20 | 63 6c 6f 73 65 53 74 61 |ck".end |closeSta|
|00001d50| 63 6b 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 50 72 65 |ck..func|tion Pre|
|00001d60| 66 65 72 43 6c 69 65 6e | 74 4c 61 6e 67 42 75 74 |ferClien|tLangBut|
|00001d70| 74 6f 6e 49 44 0d 72 65 | 74 75 72 6e 20 22 35 2c |tonID.re|turn "5,|
|00001d80| 36 2c 37 2c 31 33 2c 35 | 37 22 0d 65 6e 64 20 50 |6,7,13,5|7".end P|
|00001d90| 72 65 66 65 72 43 6c 69 | 65 6e 74 4c 61 6e 67 42 |referCli|entLangB|
|00001da0| 75 74 74 6f 6e 49 44 0d | 0d 66 75 6e 63 74 69 6f |uttonID.|.functio|
|00001db0| 6e 20 50 72 65 66 65 72 | 53 65 72 76 65 72 4c 61 |n Prefer|ServerLa|
|00001dc0| 6e 67 42 75 74 74 6f 6e | 49 44 0d 72 65 74 75 72 |ngButton|ID.retur|
|00001dd0| 6e 20 22 32 2c 33 2c 31 | 30 22 0d 65 6e 64 20 50 |n "2,3,1|0".end P|
|00001de0| 72 65 66 65 72 53 65 72 | 76 65 72 4c 61 6e 67 42 |referSer|verLangB|
|00001df0| 75 74 74 6f 6e 49 44 0d | 0d 6f 6e 20 43 68 65 63 |uttonID.|.on Chec|
|00001e00| 6b 50 72 65 66 65 72 65 | 6e 63 65 0d 67 6c 6f 62 |kPrefere|nce.glob|
|00001e10| 61 6c 20 64 65 66 61 75 | 6c 74 54 69 6d 65 6f 75 |al defau|ltTimeou|
|00001e20| 74 2c 64 65 66 61 75 6c | 74 54 61 72 67 65 74 2c |t,defaul|tTarget,|
|00001e30| 64 65 66 61 75 6c 74 53 | 65 6e 64 4d 6f 64 65 2c |defaultS|endMode,|
|00001e40| 64 65 66 61 75 6c 74 49 | 64 6c 65 50 72 6f 63 2c |defaultI|dleProc,|
|00001e50| 64 65 66 61 75 6c 74 41 | 45 46 69 6c 74 65 72 2c |defaultA|EFilter,|
|00001e60| 64 65 66 61 75 6c 74 54 | 61 72 67 65 74 44 65 73 |defaultT|argetDes|
|00001e70| 63 0d 67 6c 6f 62 61 6c | 20 73 65 72 76 65 72 4c |c.global| serverL|
|00001e80| 61 6e 67 2c 63 6c 69 65 | 6e 74 4c 61 6e 67 2c 63 |ang,clie|ntLang,c|
|00001e90| 6c 69 65 6e 74 48 61 73 | 47 6c 75 65 2c 76 65 72 |lientHas|Glue,ver|
|00001ea0| 62 6f 73 65 0d 70 75 74 | 20 50 72 65 66 65 72 43 |bose.put| PreferC|
|00001eb0| 6c 69 65 6e 74 4c 61 6e | 67 42 75 74 74 6f 6e 49 |lientLan|gButtonI|
|00001ec0| 44 28 29 20 69 6e 74 6f | 20 74 68 65 4c 69 73 74 |D() into| theList|
|00001ed0| 0d 70 75 74 20 6e 75 6d | 62 65 72 20 6f 66 20 69 |.put num|ber of i|
|00001ee0| 74 65 6d 73 20 69 6e 20 | 74 68 65 4c 69 73 74 20 |tems in |theList |
|00001ef0| 69 6e 74 6f 20 6e 0d 72 | 65 70 65 61 74 20 77 69 |into n.r|epeat wi|
|00001f00| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 6e 0d 69 66 |th i = 1| to n.if|
|00001f10| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 61 72 64 20 | hilite |of card |
|00001f20| 62 75 74 74 6f 6e 20 69 | 64 20 28 69 74 65 6d 20 |button i|d (item |
|00001f30| 69 20 6f 66 20 74 68 65 | 4c 69 73 74 29 20 6f 66 |i of the|List) of|
|00001f40| 20 63 61 72 64 20 22 70 | 72 65 66 65 72 65 6e 63 | card "p|referenc|
|00001f50| 65 22 20 74 68 65 6e 0d | 70 75 74 20 73 68 6f 72 |e" then.|put shor|
|00001f60| 74 20 6e 61 6d 65 20 6f | 66 20 63 61 72 64 20 62 |t name o|f card b|
|00001f70| 75 74 74 6f 6e 20 69 64 | 20 28 69 74 65 6d 20 69 |utton id| (item i|
|00001f80| 20 6f 66 20 74 68 65 4c | 69 73 74 29 20 6f 66 20 | of theL|ist) of |
|00001f90| 63 61 72 64 20 22 70 72 | 65 66 65 72 65 6e 63 65 |card "pr|eference|
|00001fa0| 22 20 69 6e 74 6f 20 63 | 6c 69 65 6e 74 4c 61 6e |" into c|lientLan|
|00001fb0| 67 0d 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |g.exit r|epeat.en|
|00001fc0| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00001fd0| 70 75 74 20 50 72 65 66 | 65 72 53 65 72 76 65 72 |put Pref|erServer|
|00001fe0| 4c 61 6e 67 42 75 74 74 | 6f 6e 49 44 28 29 20 69 |LangButt|onID() i|
|00001ff0| 6e 74 6f 20 74 68 65 4c | 69 73 74 0d 70 75 74 20 |nto theL|ist.put |
|00002000| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|00002010| 69 6e 20 74 68 65 4c 69 | 73 74 20 69 6e 74 6f 20 |in theLi|st into |
|00002020| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |n.repeat| with i |
|00002030| 3d 20 31 20 74 6f 20 6e | 0d 69 66 20 68 69 6c 69 |= 1 to n|.if hili|
|00002040| 74 65 20 6f 66 20 63 61 | 72 64 20 62 75 74 74 6f |te of ca|rd butto|
|00002050| 6e 20 69 64 20 28 69 74 | 65 6d 20 69 20 6f 66 20 |n id (it|em i of |
|00002060| 74 68 65 4c 69 73 74 29 | 20 6f 66 20 63 61 72 64 |theList)| of card|
|00002070| 20 22 70 72 65 66 65 72 | 65 6e 63 65 22 20 74 68 | "prefer|ence" th|
|00002080| 65 6e 0d 70 75 74 20 73 | 68 6f 72 74 20 6e 61 6d |en.put s|hort nam|
|00002090| 65 20 6f 66 20 63 61 72 | 64 20 62 75 74 74 6f 6e |e of car|d button|
|000020a0| 20 69 64 20 28 69 74 65 | 6d 20 69 20 6f 66 20 74 | id (ite|m i of t|
|000020b0| 68 65 4c 69 73 74 29 20 | 6f 66 20 63 61 72 64 20 |heList) |of card |
|000020c0| 22 70 72 65 66 65 72 65 | 6e 63 65 22 20 69 6e 74 |"prefere|nce" int|
|000020d0| 6f 20 73 65 72 76 65 72 | 4c 61 6e 67 0d 65 78 69 |o server|Lang.exi|
|000020e0| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|000020f0| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 68 |end repe|at.put h|
|00002100| 69 6c 69 74 65 20 6f 66 | 20 63 61 72 64 20 62 75 |ilite of| card bu|
|00002110| 74 74 6f 6e 20 22 68 61 | 73 20 67 6c 75 65 20 73 |tton "ha|s glue s|
|00002120| 75 62 72 6f 75 74 69 6e | 65 22 20 6f 66 20 63 61 |ubroutin|e" of ca|
|00002130| 72 64 20 22 70 72 65 66 | 65 72 65 6e 63 65 22 20 |rd "pref|erence" |
|00002140| 69 6e 74 6f 20 63 6c 69 | 65 6e 74 48 61 73 47 6c |into cli|entHasGl|
|00002150| 75 65 0d 70 75 74 20 68 | 69 6c 69 74 65 20 6f 66 |ue.put h|ilite of|
|00002160| 20 63 61 72 64 20 62 75 | 74 74 6f 6e 20 22 76 65 | card bu|tton "ve|
|00002170| 72 62 6f 73 65 22 20 6f | 66 20 63 61 72 64 20 22 |rbose" o|f card "|
|00002180| 70 72 65 66 65 72 65 6e | 63 65 22 20 69 6e 74 6f |preferen|ce" into|
|00002190| 20 76 65 72 62 6f 73 65 | 0d 70 75 74 20 63 61 72 | verbose|.put car|
|000021a0| 64 20 66 69 65 6c 64 20 | 22 74 69 6d 65 4f 75 74 |d field |"timeOut|
|000021b0| 22 20 6f 66 20 63 61 72 | 64 20 22 70 72 65 66 65 |" of car|d "prefe|
|000021c0| 72 65 6e 63 65 22 20 69 | 6e 74 6f 20 64 65 66 61 |rence" i|nto defa|
|000021d0| 75 6c 74 54 69 6d 65 6f | 75 74 0d 70 75 74 20 63 |ultTimeo|ut.put c|
|000021e0| 61 72 64 20 66 69 65 6c | 64 20 22 73 65 6e 64 54 |ard fiel|d "sendT|
|000021f0| 61 72 67 65 74 22 20 6f | 66 20 63 61 72 64 20 22 |arget" o|f card "|
|00002200| 70 72 65 66 65 72 65 6e | 63 65 22 20 69 6e 74 6f |preferen|ce" into|
|00002210| 20 64 65 66 61 75 6c 74 | 54 61 72 67 65 74 0d 70 | default|Target.p|
|00002220| 75 74 20 63 61 72 64 20 | 66 69 65 6c 64 20 22 74 |ut card |field "t|
|00002230| 61 72 67 65 74 44 65 73 | 63 22 20 6f 66 20 63 61 |argetDes|c" of ca|
|00002240| 72 64 20 22 70 72 65 66 | 65 72 65 6e 63 65 22 20 |rd "pref|erence" |
|00002250| 69 6e 74 6f 20 64 65 66 | 61 75 6c 74 54 61 72 67 |into def|aultTarg|
|00002260| 65 74 44 65 73 63 0d 70 | 75 74 20 63 61 72 64 20 |etDesc.p|ut card |
|00002270| 66 69 65 6c 64 20 22 73 | 65 6e 64 4d 6f 64 65 22 |field "s|endMode"|
|00002280| 20 6f 66 20 63 61 72 64 | 20 22 70 72 65 66 65 72 | of card| "prefer|
|00002290| 65 6e 63 65 22 20 69 6e | 74 6f 20 64 65 66 61 75 |ence" in|to defau|
|000022a0| 6c 74 53 65 6e 64 4d 6f | 64 65 0d 70 75 74 20 63 |ltSendMo|de.put c|
|000022b0| 61 72 64 20 66 69 65 6c | 64 20 22 69 64 6c 65 50 |ard fiel|d "idleP|
|000022c0| 72 6f 63 22 20 6f 66 20 | 63 61 72 64 20 22 70 72 |roc" of |card "pr|
|000022d0| 65 66 65 72 65 6e 63 65 | 22 20 69 6e 74 6f 20 64 |eference|" into d|
|000022e0| 65 66 61 75 6c 74 49 64 | 6c 65 50 72 6f 63 0d 70 |efaultId|leProc.p|
|000022f0| 75 74 20 63 61 72 64 20 | 66 69 65 6c 64 20 22 61 |ut card |field "a|
|00002300| 65 46 69 6c 74 65 72 22 | 20 6f 66 20 63 61 72 64 |eFilter"| of card|
|00002310| 20 22 70 72 65 66 65 72 | 65 6e 63 65 22 20 69 6e | "prefer|ence" in|
|00002320| 74 6f 20 64 65 66 61 75 | 6c 74 41 45 46 69 6c 74 |to defau|ltAEFilt|
|00002330| 65 72 0d 65 6e 64 20 43 | 68 65 63 6b 50 72 65 66 |er.end C|heckPref|
|00002340| 65 72 65 6e 63 65 0d 0d | 66 75 6e 63 74 69 6f 6e |erence..|function|
|00002350| 20 53 74 72 69 70 53 50 | 20 78 2c 20 6c 6f 77 65 | StripSP| x, lowe|
|00002360| 72 43 61 73 65 0d 70 75 | 74 20 43 68 61 72 54 6f |rCase.pu|t CharTo|
|00002370| 4e 75 6d 28 63 68 61 72 | 20 31 20 6f 66 20 78 29 |Num(char| 1 of x)|
|00002380| 20 69 6e 74 6f 20 6e 0d | 69 66 20 6c 6f 77 65 72 | into n.|if lower|
|00002390| 43 61 73 65 20 3d 20 74 | 72 75 65 20 74 68 65 6e |Case = t|rue then|
|000023a0| 0d 69 66 20 28 6e 20 3e | 3d 20 36 35 29 20 61 6e |.if (n >|= 65) an|
|000023b0| 64 20 28 6e 20 3c 3d 20 | 39 30 29 20 74 68 65 6e |d (n <= |90) then|
|000023c0| 0d 70 75 74 20 4e 75 6d | 54 6f 43 68 61 72 28 6e |.put Num|ToChar(n|
|000023d0| 2b 33 32 29 20 69 6e 74 | 6f 20 63 68 61 72 20 31 |+32) int|o char 1|
|000023e0| 20 6f 66 20 78 0d 65 6e | 64 20 69 66 0d 65 6c 73 | of x.en|d if.els|
|000023f0| 65 0d 69 66 20 28 6e 20 | 3e 3d 20 39 37 29 20 61 |e.if (n |>= 97) a|
|00002400| 6e 64 20 28 6e 20 3c 3d | 20 31 32 32 29 20 74 68 |nd (n <=| 122) th|
|00002410| 65 6e 0d 70 75 74 20 4e | 75 6d 54 6f 43 68 61 72 |en.put N|umToChar|
|00002420| 28 6e 2d 33 32 29 20 69 | 6e 74 6f 20 63 68 61 72 |(n-32) i|nto char|
|00002430| 20 31 20 6f 66 20 78 0d | 65 6e 64 20 69 66 0d 65 | 1 of x.|end if.e|
|00002440| 6e 64 20 69 66 0d 72 65 | 70 65 61 74 20 75 6e 74 |nd if.re|peat unt|
|00002450| 69 6c 20 69 20 3d 20 30 | 0d 70 75 74 20 6f 66 66 |il i = 0|.put off|
|00002460| 73 65 74 28 73 70 61 63 | 65 2c 20 78 29 20 69 6e |set(spac|e, x) in|
|00002470| 74 6f 20 69 0d 69 66 20 | 69 20 3e 20 30 20 74 68 |to i.if |i > 0 th|
|00002480| 65 6e 0d 70 75 74 20 43 | 68 61 72 54 6f 4e 75 6d |en.put C|harToNum|
|00002490| 28 63 68 61 72 20 28 69 | 2b 31 29 20 6f 66 20 78 |(char (i|+1) of x|
|000024a0| 29 20 69 6e 74 6f 20 6e | 0d 69 66 20 28 6e 20 3e |) into n|.if (n >|
|000024b0| 3d 20 39 37 29 20 61 6e | 64 20 28 6e 20 3c 3d 20 |= 97) an|d (n <= |
|000024c0| 31 32 32 29 20 74 68 65 | 6e 0d 70 75 74 20 4e 75 |122) the|n.put Nu|
|000024d0| 6d 54 6f 43 68 61 72 28 | 6e 2d 33 32 29 20 69 6e |mToChar(|n-32) in|
|000024e0| 74 6f 20 63 68 61 72 20 | 28 69 2b 31 29 20 6f 66 |to char |(i+1) of|
|000024f0| 20 78 0d 65 6e 64 20 69 | 66 0d 64 65 6c 65 74 65 | x.end i|f.delete|
|00002500| 20 63 68 61 72 20 69 20 | 6f 66 20 78 0d 65 6e 64 | char i |of x.end|
|00002510| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 | if.end |repeat.r|
|00002520| 65 74 75 72 6e 20 78 0d | 65 6e 64 20 53 74 72 69 |eturn x.|end Stri|
|00002530| 70 53 50 0d 0d 66 75 6e | 63 74 69 6f 6e 20 48 54 |pSP..fun|ction HT|
|00002540| 4b 65 79 57 6f 72 64 20 | 69 6e 66 6f 0d 70 75 74 |KeyWord |info.put|
|00002550| 20 28 28 69 74 65 6d 20 | 34 20 6f 66 20 69 6e 66 | ((item |4 of inf|
|00002560| 6f 29 20 64 69 76 20 38 | 31 39 32 29 20 6d 6f 64 |o) div 8|192) mod|
|00002570| 20 34 20 69 6e 74 6f 20 | 74 65 6d 70 0d 69 66 20 | 4 into |temp.if |
|00002580| 74 65 6d 70 20 3e 20 31 | 20 74 68 65 6e 0d 70 75 |temp > 1| then.pu|
|00002590| 74 20 22 6c 69 73 74 22 | 20 69 6e 74 6f 20 74 68 |t "list"| into th|
|000025a0| 69 73 54 79 70 65 0d 65 | 6c 73 65 20 69 66 20 74 |isType.e|lse if t|
|000025b0| 65 6d 70 20 3d 20 31 20 | 74 68 65 6e 0d 70 75 74 |emp = 1 |then.put|
|000025c0| 20 22 65 6e 75 6d 22 20 | 69 6e 74 6f 20 74 68 69 | "enum" |into thi|
|000025d0| 73 54 79 70 65 0d 65 6c | 73 65 0d 70 75 74 20 52 |sType.el|se.put R|
|000025e0| 65 73 54 79 70 65 28 69 | 74 65 6d 20 33 20 6f 66 |esType(i|tem 3 of|
|000025f0| 20 69 6e 66 6f 29 20 69 | 6e 74 6f 20 74 68 69 73 | info) i|nto this|
|00002600| 54 79 70 65 0d 65 6e 64 | 20 69 66 0d 2d 2d 20 69 |Type.end| if.-- i|
|00002610| 66 20 69 74 20 69 73 20 | 61 20 73 70 65 63 69 61 |f it is |a specia|
|00002620| 6c 20 74 79 70 65 2c 20 | 77 65 20 6e 65 65 64 20 |l type, |we need |
|00002630| 74 6f 20 61 70 70 65 6e | 64 20 74 79 70 65 20 61 |to appen|d type a|
|00002640| 66 74 65 72 20 6b 65 79 | 77 6f 72 64 0d 69 66 20 |fter key|word.if |
|00002650| 28 74 68 69 73 54 79 70 | 65 20 3d 20 22 54 45 58 |(thisTyp|e = "TEX|
|00002660| 54 22 29 20 4f 52 20 28 | 74 68 69 73 54 79 70 65 |T") OR (|thisType|
|00002670| 20 3d 20 22 6f 62 6a 20 | 22 29 20 4f 52 20 28 74 | = "obj |") OR (t|
|00002680| 68 69 73 54 79 70 65 20 | 3d 20 22 6c 69 73 74 22 |hisType |= "list"|
|00002690| 29 20 6f 72 20 28 74 68 | 69 73 54 79 70 65 20 3d |) or (th|isType =|
|000026a0| 20 22 6e 75 6c 6c 22 29 | 20 74 68 65 6e 0d 72 65 | "null")| then.re|
|000026b0| 74 75 72 6e 20 69 74 65 | 6d 20 32 20 6f 66 20 69 |turn ite|m 2 of i|
|000026c0| 6e 66 6f 0d 65 6c 73 65 | 0d 72 65 74 75 72 6e 20 |nfo.else|.return |
|000026d0| 52 65 73 54 79 70 65 28 | 69 74 65 6d 20 32 20 6f |ResType(|item 2 o|
|000026e0| 66 20 69 6e 66 6f 29 20 | 26 20 54 68 69 73 54 79 |f info) |& ThisTy|
|000026f0| 70 65 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 48 54 |pe.end i|f.end HT|
|00002700| 4b 65 79 57 6f 72 64 0d | 0d 6f 6e 20 69 64 6c 65 |KeyWord.|.on idle|
|00002710| 0d 67 6c 6f 62 61 6c 20 | 69 6e 45 64 69 74 0d 70 |.global |inEdit.p|
|00002720| 75 74 20 74 72 75 65 20 | 69 6e 74 6f 20 69 6e 45 |ut true |into inE|
|00002730| 64 69 74 0d 65 6e 64 20 | 69 64 6c 65 0d 0d 66 75 |dit.end |idle..fu|
|00002740| 6e 63 74 69 6f 6e 20 52 | 65 73 54 79 70 65 20 78 |nction R|esType x|
|00002750| 0d 72 65 74 75 72 6e 20 | 63 68 61 72 20 31 20 74 |.return |char 1 t|
|00002760| 6f 20 34 20 6f 66 20 28 | 78 20 26 20 22 20 20 20 |o 4 of (|x & " |
|00002770| 20 22 29 0d 65 6e 64 20 | 52 65 73 54 79 70 65 0d | ").end |ResType.|
|00002780| 0d 66 75 6e 63 74 69 6f | 6e 20 6a 75 6d 70 20 78 |.functio|n jump x|
|00002790| 0d 67 6c 6f 62 61 6c 20 | 67 57 68 65 72 65 46 72 |.global |gWhereFr|
|000027a0| 6f 6d 0d 70 75 73 68 20 | 63 64 0d 70 6f 70 20 63 |om.push |cd.pop c|
|000027b0| 64 20 69 6e 74 6f 20 67 | 57 68 65 72 65 46 72 6f |d into g|WhereFro|
|000027c0| 6d 0d 67 6f 20 63 61 72 | 64 20 78 0d 72 65 74 75 |m.go car|d x.retu|
|000027d0| 72 6e 20 28 74 68 65 20 | 72 65 73 75 6c 74 20 3d |rn (the |result =|
|000027e0| 20 22 22 29 0d 65 6e 64 | 20 6a 75 6d 70 0d 0d 6f | "").end| jump..o|
|000027f0| 6e 20 4e 61 6d 65 49 74 | 20 78 0d 70 75 74 20 77 |n NameIt| x.put w|
|00002800| 6f 72 64 20 31 20 6f 66 | 20 78 20 69 6e 74 6f 20 |ord 1 of| x into |
|00002810| 79 0d 64 65 6c 65 74 65 | 20 77 6f 72 64 20 31 20 |y.delete| word 1 |
|00002820| 6f 66 20 78 0d 69 66 20 | 28 69 74 65 6d 20 32 20 |of x.if |(item 2 |
|00002830| 6f 66 20 78 20 3c 3e 20 | 22 22 29 20 6f 72 20 28 |of x <> |"") or (|
|00002840| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 78 20 3d |last cha|r of x =|
|00002850| 20 22 2c 22 29 20 74 68 | 65 6e 0d 2d 2d 20 32 20 | ",") th|en.-- 2 |
|00002860| 69 74 65 6d 73 20 6d 65 | 61 6e 73 20 69 64 20 2b |items me|ans id +|
|00002870| 20 6e 61 6d 65 2c 20 6a | 75 73 74 20 6b 65 65 70 | name, j|ust keep|
|00002880| 20 74 68 65 20 69 64 0d | 64 65 6c 65 74 65 20 69 | the id.|delete i|
|00002890| 74 65 6d 20 32 20 6f 66 | 20 78 0d 65 6e 64 20 69 |tem 2 of| x.end i|
|000028a0| 66 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |f.if the|re is a |
|000028b0| 63 61 72 64 20 78 20 74 | 68 65 6e 0d 69 66 20 28 |card x t|hen.if (|
|000028c0| 74 68 65 20 69 64 20 6f | 66 20 74 68 69 73 20 63 |the id o|f this c|
|000028d0| 61 72 64 29 20 3c 3e 20 | 28 74 68 65 20 69 64 20 |ard) <> |(the id |
|000028e0| 6f 66 20 63 61 72 64 20 | 78 29 20 74 68 65 6e 0d |of card |x) then.|
|000028f0| 61 6e 73 77 65 72 20 22 | 54 68 65 20 49 44 20 6f |answer "|The ID o|
|00002900| 66 20 74 68 69 73 22 20 | 26 26 20 79 20 26 26 20 |f this" |&& y && |
|00002910| 22 61 6c 72 65 61 64 79 | 20 65 78 69 73 74 73 22 |"already| exists"|
|00002920| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 73 |.end if.|end if.s|
|00002930| 65 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |et name |of this |
|00002940| 63 61 72 64 20 74 6f 20 | 78 0d 65 6e 64 20 4e 61 |card to |x.end Na|
|00002950| 6d 65 49 74 0d 0d 6f 6e | 20 43 68 61 6e 67 65 4e |meIt..on| ChangeN|
|00002960| 61 6d 65 20 6f 6c 64 4e | 61 6d 65 2c 20 6e 65 77 |ame oldN|ame, new|
|00002970| 4e 61 6d 65 2c 20 6c 69 | 73 74 4e 61 6d 65 0d 2d |Name, li|stName.-|
|00002980| 2d 20 63 68 61 6e 67 65 | 20 6f 6c 64 4e 61 6d 65 |- change| oldName|
|00002990| 20 69 6e 20 66 69 65 6c | 64 20 6c 69 73 74 4e 61 | in fiel|d listNa|
|000029a0| 6d 65 20 74 6f 20 6e 65 | 77 4e 61 6d 65 0d 70 75 |me to ne|wName.pu|
|000029b0| 74 20 77 6f 72 64 20 31 | 20 6f 66 20 6f 6c 64 4e |t word 1| of oldN|
|000029c0| 61 6d 65 20 69 6e 74 6f | 20 73 75 69 74 65 6e 61 |ame into| suitena|
|000029d0| 6d 65 0d 64 65 6c 65 74 | 65 20 77 6f 72 64 20 31 |me.delet|e word 1|
|000029e0| 20 74 6f 20 32 20 6f 66 | 20 6f 6c 64 4e 61 6d 65 | to 2 of| oldName|
|000029f0| 0d 69 66 20 28 69 74 65 | 6d 20 32 20 6f 66 20 6f |.if (ite|m 2 of o|
|00002a00| 6c 64 4e 61 6d 65 20 3d | 20 22 22 29 20 61 6e 64 |ldName =| "") and|
|00002a10| 20 28 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 6f | (last c|har of o|
|00002a20| 6c 64 4e 61 6d 65 20 3c | 3e 20 22 2c 22 29 20 74 |ldName <|> ",") t|
|00002a30| 68 65 6e 0d 2d 2d 20 6f | 6e 6c 79 20 31 20 69 74 |hen.-- o|nly 1 it|
|00002a40| 65 6d 2c 20 69 74 20 69 | 73 20 74 68 65 20 49 44 |em, it i|s the ID|
|00002a50| 0d 70 75 74 20 31 20 69 | 6e 74 6f 20 63 68 65 63 |.put 1 i|nto chec|
|00002a60| 6b 49 6e 64 65 78 0d 70 | 75 74 20 69 74 65 6d 20 |kIndex.p|ut item |
|00002a70| 31 20 6f 66 20 6f 6c 64 | 4e 61 6d 65 20 69 6e 74 |1 of old|Name int|
|00002a80| 6f 20 63 68 65 63 6b 49 | 74 65 6d 0d 65 6c 73 65 |o checkI|tem.else|
|00002a90| 0d 2d 2d 20 6e 61 6d 65 | 20 66 6f 6c 6c 6f 77 65 |.-- name| followe|
|00002aa0| 64 20 62 79 20 49 44 2c | 20 75 73 65 20 74 68 65 |d by ID,| use the|
|00002ab0| 20 49 44 0d 70 75 74 20 | 32 20 69 6e 74 6f 20 63 | ID.put |2 into c|
|00002ac0| 68 65 63 6b 49 6e 64 65 | 78 0d 70 75 74 20 69 74 |heckInde|x.put it|
|00002ad0| 65 6d 20 31 20 6f 66 20 | 6f 6c 64 4e 61 6d 65 20 |em 1 of |oldName |
|00002ae0| 69 6e 74 6f 20 63 68 65 | 63 6b 49 74 65 6d 0d 70 |into che|ckItem.p|
|00002af0| 75 74 20 69 74 65 6d 20 | 32 20 6f 66 20 6f 6c 64 |ut item |2 of old|
|00002b00| 4e 61 6d 65 20 26 20 22 | 2c 22 20 26 20 63 68 65 |Name & "|," & che|
|00002b10| 63 6b 49 74 65 6d 20 69 | 6e 74 6f 20 6f 6c 64 4e |ckItem i|nto oldN|
|00002b20| 61 6d 65 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 22 |ame.end |if.put "|
|00002b30| 73 75 69 74 65 22 20 26 | 26 20 52 65 73 54 79 70 |suite" &|& ResTyp|
|00002b40| 65 28 73 75 69 74 65 4e | 61 6d 65 29 20 69 6e 74 |e(suiteN|ame) int|
|00002b50| 6f 20 73 75 69 74 65 43 | 61 72 64 0d 69 66 20 74 |o suiteC|ard.if t|
|00002b60| 68 65 72 65 20 69 73 20 | 61 20 63 61 72 64 20 73 |here is |a card s|
|00002b70| 75 69 74 65 43 61 72 64 | 20 74 68 65 6e 0d 70 75 |uiteCard| then.pu|
|00002b80| 74 20 66 69 65 6c 64 20 | 6c 69 73 74 4e 61 6d 65 |t field |listName|
|00002b90| 20 6f 66 20 63 61 72 64 | 20 73 75 69 74 65 43 61 | of card| suiteCa|
|00002ba0| 72 64 20 69 6e 74 6f 20 | 78 0d 70 75 74 20 74 68 |rd into |x.put th|
|00002bb0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00002bc0| 73 20 69 6e 20 78 20 69 | 6e 74 6f 20 6e 0d 70 75 |s in x i|nto n.pu|
|00002bd0| 74 20 31 20 69 6e 74 6f | 20 69 0d 70 75 74 20 66 |t 1 into| i.put f|
|00002be0| 61 6c 73 65 20 69 6e 74 | 6f 20 66 6f 75 6e 64 0d |alse int|o found.|
|00002bf0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 28 69 20 |repeat u|ntil (i |
|00002c00| 3e 20 6e 29 20 6f 72 20 | 66 6f 75 6e 64 0d 69 66 |> n) or |found.if|
|00002c10| 20 28 69 74 65 6d 20 63 | 68 65 63 6b 49 6e 64 65 | (item c|heckInde|
|00002c20| 78 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 78 |x of lin|e i of x|
|00002c30| 29 20 3d 20 63 68 65 63 | 6b 49 74 65 6d 20 74 68 |) = chec|kItem th|
|00002c40| 65 6e 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 69 |en.delet|e line i|
|00002c50| 20 6f 66 20 78 0d 70 75 | 74 20 74 72 75 65 20 69 | of x.pu|t true i|
|00002c60| 6e 74 6f 20 66 6f 75 6e | 64 0d 65 6e 64 20 69 66 |nto foun|d.end if|
|00002c70| 0d 61 64 64 20 31 20 74 | 6f 20 69 0d 65 6e 64 20 |.add 1 t|o i.end |
|00002c80| 72 65 70 65 61 74 0d 70 | 75 74 20 78 20 69 6e 74 |repeat.p|ut x int|
|00002c90| 6f 20 66 69 65 6c 64 20 | 6c 69 73 74 4e 61 6d 65 |o field |listName|
|00002ca0| 20 6f 66 20 63 61 72 64 | 20 73 75 69 74 65 43 61 | of card| suiteCa|
|00002cb0| 72 64 0d 65 6e 64 20 69 | 66 0d 69 66 20 6e 65 77 |rd.end i|f.if new|
|00002cc0| 4e 61 6d 65 20 3c 3e 20 | 22 22 20 74 68 65 6e 0d |Name <> |"" then.|
|00002cd0| 70 75 74 20 77 6f 72 64 | 20 31 20 6f 66 20 6e 65 |put word| 1 of ne|
|00002ce0| 77 4e 61 6d 65 20 69 6e | 74 6f 20 73 75 69 74 65 |wName in|to suite|
|00002cf0| 6e 61 6d 65 0d 64 65 6c | 65 74 65 20 77 6f 72 64 |name.del|ete word|
|00002d00| 20 31 20 74 6f 20 32 20 | 6f 66 20 6e 65 77 4e 61 | 1 to 2 |of newNa|
|00002d10| 6d 65 0d 69 66 20 28 69 | 74 65 6d 20 32 20 6f 66 |me.if (i|tem 2 of|
|00002d20| 20 6e 65 77 4e 61 6d 65 | 20 3c 3e 20 22 22 29 20 | newName| <> "") |
|00002d30| 6f 72 20 28 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |or (last| char of|
|00002d40| 20 6e 65 77 4e 61 6d 65 | 20 3d 20 22 2c 22 29 20 | newName| = ",") |
|00002d50| 74 68 65 6e 0d 2d 2d 20 | 6e 65 77 4e 61 6d 65 20 |then.-- |newName |
|00002d60| 69 73 20 6e 61 6d 65 20 | 2b 20 49 44 2c 20 66 6c |is name |+ ID, fl|
|00002d70| 69 70 20 69 74 20 61 72 | 6f 75 6e 64 0d 70 75 74 |ip it ar|ound.put|
|00002d80| 20 69 74 65 6d 20 32 20 | 6f 66 20 6e 65 77 4e 61 | item 2 |of newNa|
|00002d90| 6d 65 20 26 20 22 2c 22 | 20 26 20 69 74 65 6d 20 |me & ","| & item |
|00002da0| 31 20 6f 66 20 6e 65 77 | 4e 61 6d 65 20 69 6e 74 |1 of new|Name int|
|00002db0| 6f 20 6e 65 77 4e 61 6d | 65 0d 65 6e 64 20 69 66 |o newNam|e.end if|
|00002dc0| 0d 70 75 74 20 22 73 75 | 69 74 65 22 20 26 26 20 |.put "su|ite" && |
|00002dd0| 73 75 69 74 65 4e 61 6d | 65 20 69 6e 74 6f 20 73 |suiteNam|e into s|
|00002de0| 75 69 74 65 43 61 72 64 | 0d 69 66 20 74 68 65 72 |uiteCard|.if ther|
|00002df0| 65 20 69 73 20 61 20 63 | 61 72 64 20 73 75 69 74 |e is a c|ard suit|
|00002e00| 65 43 61 72 64 20 74 68 | 65 6e 0d 70 75 74 20 6e |eCard th|en.put n|
|00002e10| 65 77 4e 61 6d 65 20 26 | 20 72 65 74 75 72 6e 20 |ewName &| return |
|00002e20| 61 66 74 65 72 20 66 69 | 65 6c 64 20 6c 69 73 74 |after fi|eld list|
|00002e30| 4e 61 6d 65 20 6f 66 20 | 63 61 72 64 20 73 75 69 |Name of |card sui|
|00002e40| 74 65 43 61 72 64 0d 65 | 6e 64 20 69 66 0d 65 6e |teCard.e|nd if.en|
|00002e50| 64 20 69 66 0d 65 6e 64 | 20 43 68 61 6e 67 65 4e |d if.end| ChangeN|
|00002e60| 61 6d 65 0d 0d 6f 6e 20 | 52 65 44 6f 53 63 72 69 |ame..on |ReDoScri|
|00002e70| 70 74 0d 67 6c 6f 62 61 | 6c 20 69 6e 45 64 69 74 |pt.globa|l inEdit|
|00002e80| 0d 70 75 74 20 69 6e 45 | 64 69 74 20 69 6e 74 6f |.put inE|dit into|
|00002e90| 20 63 75 72 45 64 69 74 | 0d 70 75 74 20 66 61 6c | curEdit|.put fal|
|00002ea0| 73 65 20 69 6e 74 6f 20 | 69 6e 45 64 69 74 0d 70 |se into |inEdit.p|
|00002eb0| 75 73 68 20 63 61 72 64 | 0d 70 75 74 20 6e 75 6d |ush card|.put num|
|00002ec0| 62 65 72 20 6f 66 20 63 | 61 72 64 73 20 69 6e 20 |ber of c|ards in |
|00002ed0| 62 6b 67 6e 64 20 22 65 | 76 65 6e 74 73 22 20 69 |bkgnd "e|vents" i|
|00002ee0| 6e 74 6f 20 6e 0d 72 65 | 70 65 61 74 20 77 69 74 |nto n.re|peat wit|
|00002ef0| 68 20 69 20 3d 20 32 20 | 74 6f 20 6e 0d 67 6f 20 |h i = 2 |to n.go |
|00002f00| 63 61 72 64 20 69 20 6f | 66 20 62 6b 67 6e 64 20 |card i o|f bkgnd |
|00002f10| 22 65 76 65 6e 74 73 22 | 0d 69 66 20 74 68 65 20 |"events"|.if the |
|00002f20| 72 65 73 75 6c 74 20 3d | 20 22 22 20 74 68 65 6e |result =| "" then|
|00002f30| 0d 4d 61 6b 65 53 63 72 | 69 70 74 54 65 6d 70 6c |.MakeScr|iptTempl|
|00002f40| 61 74 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |ate.end |if.end r|
|00002f50| 65 70 65 61 74 0d 70 6f | 70 20 63 61 72 64 0d 70 |epeat.po|p card.p|
|00002f60| 75 74 20 63 75 72 45 64 | 69 74 20 69 6e 74 6f 20 |ut curEd|it into |
|00002f70| 69 6e 45 64 69 74 0d 65 | 6e 64 20 52 65 44 6f 53 |inEdit.e|nd ReDoS|
|00002f80| 63 72 69 70 74 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |cript..f|unction |
|00002f90| 45 6e 75 6d 4f 70 74 69 | 6f 6e 20 73 75 69 74 65 |EnumOpti|on suite|
|00002fa0| 43 6f 64 65 2c 65 6e 75 | 6d 65 72 61 74 69 6f 6e |Code,enu|meration|
|00002fb0| 2c 65 6e 75 6d 65 72 61 | 74 6f 72 2c 69 6e 64 65 |,enumera|tor,inde|
|00002fc0| 78 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 74 68 |x.put ""| into th|
|00002fd0| 65 4c 69 73 74 0d 70 75 | 74 20 22 65 6e 75 6d 65 |eList.pu|t "enume|
|00002fe0| 72 61 74 69 6f 6e 22 20 | 26 26 20 65 6e 75 6d 65 |ration" |&& enume|
|00002ff0| 72 61 74 69 6f 6e 20 69 | 6e 74 6f 20 78 0d 69 66 |ration i|nto x.if|
|00003000| 20 74 68 65 72 65 20 69 | 73 20 61 20 63 61 72 64 | there i|s a card|
|00003010| 20 78 20 74 68 65 6e 0d | 70 75 74 20 66 69 65 6c | x then.|put fiel|
|00003020| 64 20 22 65 6e 75 6d 49 | 6e 66 6f 22 20 6f 66 20 |d "enumI|nfo" of |
|00003030| 63 61 72 64 20 78 20 69 | 6e 74 6f 20 78 0d 70 75 |card x i|nto x.pu|
|00003040| 74 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |t number| of line|
|00003050| 73 20 69 6e 20 78 20 69 | 6e 74 6f 20 6e 0d 72 65 |s in x i|nto n.re|
|00003060| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00003070| 74 6f 20 6e 0d 69 66 20 | 28 65 6e 75 6d 65 72 61 |to n.if |(enumera|
|00003080| 74 6f 72 20 3d 20 22 22 | 29 20 74 68 65 6e 0d 70 |tor = ""|) then.p|
|00003090| 75 74 20 69 74 65 6d 20 | 69 6e 64 65 78 20 6f 66 |ut item |index of|
|000030a0| 20 6c 69 6e 65 20 69 20 | 6f 66 20 78 20 26 20 22 | line i |of x & "|
|000030b0| 7c 22 20 61 66 74 65 72 | 20 74 68 65 4c 69 73 74 ||" after| theList|
|000030c0| 0d 65 6c 73 65 20 69 66 | 20 28 65 6e 75 6d 65 72 |.else if| (enumer|
|000030d0| 61 74 6f 72 20 3d 20 69 | 74 65 6d 20 31 20 6f 66 |ator = i|tem 1 of|
|000030e0| 20 6c 69 6e 65 20 69 20 | 6f 66 20 78 29 20 74 68 | line i |of x) th|
|000030f0| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 69 6e 64 65 |en.put i|tem inde|
|00003100| 78 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 78 |x of lin|e i of x|
|00003110| 20 26 20 22 7c 22 20 69 | 6e 74 6f 20 74 68 65 4c | & "|" i|nto theL|
|00003120| 69 73 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |ist.end |if.end r|
|00003130| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 69 66 20 |epeat.en|d if.if |
|00003140| 74 68 65 4c 69 73 74 20 | 3d 20 22 22 20 74 68 65 |theList |= "" the|
|00003150| 6e 0d 70 75 74 20 22 73 | 6f 6d 65 45 6e 75 6d 22 |n.put "s|omeEnum"|
|00003160| 20 69 6e 74 6f 20 74 68 | 65 4c 69 73 74 0d 65 6c | into th|eList.el|
|00003170| 73 65 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |se.delet|e last c|
|00003180| 68 61 72 20 6f 66 20 74 | 68 65 4c 69 73 74 0d 65 |har of t|heList.e|
|00003190| 6e 64 20 69 66 0d 72 65 | 74 75 72 6e 20 74 68 65 |nd if.re|turn the|
|000031a0| 4c 69 73 74 0d 65 6e 64 | 20 45 6e 75 6d 4f 70 74 |List.end| EnumOpt|
|000031b0| 69 6f 6e 0d 0d 66 75 6e | 63 74 69 6f 6e 20 4e 61 |ion..fun|ction Na|
|000031c0| 6d 65 4f 66 44 61 74 61 | 54 79 70 65 20 64 61 74 |meOfData|Type dat|
|000031d0| 61 54 79 70 65 0d 69 66 | 20 64 61 74 61 54 79 70 |aType.if| dataTyp|
|000031e0| 65 20 3d 20 22 73 68 6f | 72 22 20 74 68 65 6e 0d |e = "sho|r" then.|
|000031f0| 67 65 74 20 22 49 6e 74 | 65 67 65 72 2c 50 74 72 |get "Int|eger,Ptr|
|00003200| 2c 48 61 6e 64 6c 65 2c | 74 79 70 65 53 68 6f 72 |,Handle,|typeShor|
|00003210| 74 49 6e 74 65 67 65 72 | 2c 73 68 6f 72 74 2c 32 |tInteger|,short,2|
|00003220| 22 0d 65 6c 73 65 20 69 | 66 20 64 61 74 61 54 79 |".else i|f dataTy|
|00003230| 70 65 20 3d 20 22 6c 6f | 6e 67 22 20 74 68 65 6e |pe = "lo|ng" then|
|00003240| 0d 67 65 74 20 22 4c 6f | 6e 67 69 6e 74 2c 50 74 |.get "Lo|ngint,Pt|
|00003250| 72 2c 48 61 6e 64 6c 65 | 2c 74 79 70 65 4c 6f 6e |r,Handle|,typeLon|
|00003260| 67 49 6e 74 65 67 65 72 | 2c 6c 6f 6e 67 2c 34 22 |gInteger|,long,4"|
|00003270| 0d 65 6c 73 65 20 69 66 | 20 28 64 61 74 61 54 79 |.else if| (dataTy|
|00003280| 70 65 20 3d 20 22 62 6f | 6f 6c 22 29 20 6f 72 20 |pe = "bo|ol") or |
|00003290| 28 64 61 74 61 54 79 70 | 65 20 3d 20 22 74 72 75 |(dataTyp|e = "tru|
|000032a0| 65 22 29 20 74 68 65 6e | 0d 67 65 74 20 22 42 6f |e") then|.get "Bo|
|000032b0| 6f 6c 65 61 6e 2c 50 74 | 72 2c 48 61 6e 64 6c 65 |olean,Pt|r,Handle|
|000032c0| 2c 74 79 70 65 42 6f 6f | 6c 65 61 6e 2c 42 6f 6f |,typeBoo|lean,Boo|
|000032d0| 6c 65 61 6e 2c 31 22 0d | 65 6c 73 65 20 69 66 20 |lean,1".|else if |
|000032e0| 64 61 74 61 54 79 70 65 | 20 3d 20 22 54 45 58 54 |dataType| = "TEXT|
|000032f0| 22 20 74 68 65 6e 0d 67 | 65 74 20 22 53 74 72 32 |" then.g|et "Str2|
|00003300| 35 35 2c 43 68 61 72 73 | 50 74 72 2c 43 68 61 72 |55,Chars|Ptr,Char|
|00003310| 73 48 61 6e 64 6c 65 2c | 74 79 70 65 43 68 61 72 |sHandle,|typeChar|
|00003320| 2c 63 68 61 72 2c 2d 31 | 22 0d 65 6c 73 65 20 69 |,char,-1|".else i|
|00003330| 66 20 28 64 61 74 61 54 | 79 70 65 20 3d 20 22 65 |f (dataT|ype = "e|
|00003340| 6e 75 6d 22 29 20 74 68 | 65 6e 0d 67 65 74 20 22 |num") th|en.get "|
|00003350| 52 65 73 54 79 70 65 2c | 52 65 73 54 79 70 65 50 |ResType,|ResTypeP|
|00003360| 74 72 2c 48 61 6e 64 6c | 65 2c 74 79 70 65 45 6e |tr,Handl|e,typeEn|
|00003370| 75 6d 65 72 61 74 65 64 | 2c 52 65 73 54 79 70 65 |umerated|,ResType|
|00003380| 2c 34 22 0d 65 6c 73 65 | 20 69 66 20 28 64 61 74 |,4".else| if (dat|
|00003390| 61 54 79 70 65 20 3d 20 | 22 74 79 70 65 22 29 20 |aType = |"type") |
|000033a0| 74 68 65 6e 0d 67 65 74 | 20 22 52 65 73 54 79 70 |then.get| "ResTyp|
|000033b0| 65 2c 52 65 73 54 79 70 | 65 50 74 72 2c 48 61 6e |e,ResTyp|ePtr,Han|
|000033c0| 64 6c 65 2c 74 79 70 65 | 54 79 70 65 2c 52 65 73 |dle,type|Type,Res|
|000033d0| 54 79 70 65 2c 34 22 0d | 65 6c 73 65 20 69 66 20 |Type,4".|else if |
|000033e0| 28 64 61 74 61 54 79 70 | 65 20 3d 20 22 70 72 6f |(dataTyp|e = "pro|
|000033f0| 70 22 29 20 74 68 65 6e | 0d 67 65 74 20 22 52 65 |p") then|.get "Re|
|00003400| 73 54 79 70 65 2c 52 65 | 73 54 79 70 65 50 74 72 |sType,Re|sTypePtr|
|00003410| 2c 48 61 6e 64 6c 65 2c | 74 79 70 65 50 72 6f 70 |,Handle,|typeProp|
|00003420| 65 72 74 79 2c 52 65 73 | 54 79 70 65 2c 34 22 0d |erty,Res|Type,4".|
|00003430| 65 6c 73 65 20 69 66 20 | 28 64 61 74 61 54 79 70 |else if |(dataTyp|
|00003440| 65 20 3d 20 22 6b 65 79 | 77 22 29 20 74 68 65 6e |e = "key|w") then|
|00003450| 0d 67 65 74 20 22 52 65 | 73 54 79 70 65 2c 52 65 |.get "Re|sType,Re|
|00003460| 73 54 79 70 65 50 74 72 | 2c 48 61 6e 64 6c 65 2c |sTypePtr|,Handle,|
|00003470| 74 79 70 65 4b 65 79 77 | 6f 72 64 2c 52 65 73 54 |typeKeyw|ord,ResT|
|00003480| 79 70 65 2c 34 22 0d 65 | 6c 73 65 20 69 66 20 64 |ype,4".e|lse if d|
|00003490| 61 74 61 54 79 70 65 20 | 3d 20 22 6c 69 73 74 22 |ataType |= "list"|
|000034a0| 20 74 68 65 6e 0d 67 65 | 74 20 22 41 45 44 65 73 | then.ge|t "AEDes|
|000034b0| 63 4c 69 73 74 2c 41 45 | 44 65 73 63 4c 69 73 74 |cList,AE|DescList|
|000034c0| 50 74 72 2c 2c 74 79 70 | 65 41 45 4c 69 73 74 2c |Ptr,,typ|eAEList,|
|000034d0| 41 45 44 65 73 63 4c 69 | 73 74 2c 2d 31 22 0d 65 |AEDescLi|st,-1".e|
|000034e0| 6c 73 65 20 69 66 20 64 | 61 74 61 54 79 70 65 20 |lse if d|ataType |
|000034f0| 3d 20 22 65 78 74 65 22 | 20 74 68 65 6e 0d 67 65 |= "exte"| then.ge|
|00003500| 74 20 22 65 78 74 65 6e | 64 65 64 2c 50 74 72 2c |t "exten|ded,Ptr,|
|00003510| 48 61 6e 64 6c 65 2c 74 | 79 70 65 45 78 74 65 6e |Handle,t|ypeExten|
|00003520| 64 65 64 2c 65 78 74 65 | 6e 64 65 64 2c 31 30 22 |ded,exte|nded,10"|
|00003530| 0d 65 6c 73 65 20 69 66 | 20 64 61 74 61 54 79 70 |.else if| dataTyp|
|00003540| 65 20 3d 20 22 73 69 6e | 67 22 20 74 68 65 6e 0d |e = "sin|g" then.|
|00003550| 67 65 74 20 22 52 65 61 | 6c 2c 50 74 72 2c 48 61 |get "Rea|l,Ptr,Ha|
|00003560| 6e 64 6c 65 2c 74 79 70 | 65 53 68 6f 72 74 46 6c |ndle,typ|eShortFl|
|00003570| 6f 61 74 2c 66 6c 6f 61 | 74 2c 34 22 0d 65 6c 73 |oat,floa|t,4".els|
|00003580| 65 20 69 66 20 64 61 74 | 61 54 79 70 65 20 3d 20 |e if dat|aType = |
|00003590| 22 64 6f 75 62 22 20 74 | 68 65 6e 0d 67 65 74 20 |"doub" t|hen.get |
|000035a0| 22 44 6f 75 62 6c 65 2c | 50 74 72 2c 48 61 6e 64 |"Double,|Ptr,Hand|
|000035b0| 6c 65 2c 74 79 70 65 4c | 6f 6e 67 46 6c 6f 61 74 |le,typeL|ongFloat|
|000035c0| 2c 64 6f 75 62 6c 65 2c | 38 22 0d 65 6c 73 65 20 |,double,|8".else |
|000035d0| 69 66 20 64 61 74 61 54 | 79 70 65 20 3d 20 22 63 |if dataT|ype = "c|
|000035e0| 6f 6d 70 22 20 74 68 65 | 6e 0d 67 65 74 20 22 43 |omp" the|n.get "C|
|000035f0| 6f 6d 70 2c 50 74 72 2c | 48 61 6e 64 6c 65 2c 74 |omp,Ptr,|Handle,t|
|00003600| 79 70 65 43 6f 6d 70 2c | 63 6f 6d 70 2c 38 22 0d |ypeComp,|comp,8".|
|00003610| 65 6c 73 65 20 69 66 20 | 64 61 74 61 54 79 70 65 |else if |dataType|
|00003620| 20 3d 20 22 61 6c 69 73 | 22 20 74 68 65 6e 0d 67 | = "alis|" then.g|
|00003630| 65 74 20 22 41 6c 69 61 | 73 52 65 63 6f 72 64 2c |et "Alia|sRecord,|
|00003640| 41 6c 69 61 73 50 74 72 | 2c 41 6c 69 61 73 48 61 |AliasPtr|,AliasHa|
|00003650| 6e 64 6c 65 2c 74 79 70 | 65 41 6c 69 61 73 2c 41 |ndle,typ|eAlias,A|
|00003660| 6c 69 61 73 52 65 63 6f | 72 64 2c 2d 31 22 0d 65 |liasReco|rd,-1".e|
|00003670| 6c 73 65 20 69 66 20 64 | 61 74 61 54 79 70 65 20 |lse if d|ataType |
|00003680| 3d 20 22 66 73 73 20 22 | 20 74 68 65 6e 0d 67 65 |= "fss "| then.ge|
|00003690| 74 20 22 46 53 53 70 65 | 63 2c 46 53 53 70 65 63 |t "FSSpe|c,FSSpec|
|000036a0| 50 74 72 2c 46 53 53 70 | 65 63 48 61 6e 64 6c 65 |Ptr,FSSp|ecHandle|
|000036b0| 2c 74 79 70 65 46 53 53 | 2c 46 53 53 70 65 63 2c |,typeFSS|,FSSpec,|
|000036c0| 37 30 22 0d 65 6c 73 65 | 0d 67 65 74 20 22 41 45 |70".else|.get "AE|
|000036d0| 44 65 73 63 2c 50 74 72 | 2c 48 61 6e 64 6c 65 2c |Desc,Ptr|,Handle,|
|000036e0| 74 79 70 65 55 6e 6b 6e | 6f 77 6e 2c 76 6f 69 64 |typeUnkn|own,void|
|000036f0| 2c 2d 31 22 0d 65 6e 64 | 20 69 66 0d 72 65 74 75 |,-1".end| if.retu|
|00003700| 72 6e 20 69 74 0d 65 6e | 64 20 4e 61 6d 65 4f 66 |rn it.en|d NameOf|
|00003710| 44 61 74 61 54 79 70 65 | 0d 0d 0d 6f 6e 20 65 6d |DataType|...on em|
|00003720| 70 74 79 53 74 61 63 6b | 20 6e 6f 44 69 61 6c 6f |ptyStack| noDialo|
|00003730| 67 0d 69 66 20 6e 6f 44 | 69 61 6c 6f 67 20 3c 3e |g.if noD|ialog <>|
|00003740| 22 79 65 73 22 20 74 68 | 65 6e 0d 61 6e 73 77 65 |"yes" th|en.answe|
|00003750| 72 20 22 44 65 6c 65 74 | 65 20 61 6c 6c 20 27 61 |r "Delet|e all 'a|
|00003760| 65 74 65 27 20 64 61 74 | 61 20 66 72 6f 6d 20 74 |ete' dat|a from t|
|00003770| 68 69 73 20 73 74 61 63 | 6b 3f 22 20 77 69 74 68 |his stac|k?" with|
|00003780| 20 22 4f 4b 22 20 6f 72 | 20 22 43 61 6e 63 65 6c | "OK" or| "Cancel|
|00003790| 22 0d 69 66 20 69 74 20 | 69 73 20 6e 6f 74 20 22 |".if it |is not "|
|000037a0| 4f 4b 22 20 74 68 65 6e | 20 65 78 69 74 20 65 6d |OK" then| exit em|
|000037b0| 70 74 79 53 74 61 63 6b | 0d 65 6e 64 20 69 66 0d |ptyStack|.end if.|
|000037c0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|000037d0| 74 63 68 0d 67 6c 6f 62 | 61 6c 20 69 6e 45 64 69 |tch.glob|al inEdi|
|000037e0| 74 0d 70 75 74 20 66 61 | 6c 73 65 20 69 6e 74 6f |t.put fa|lse into|
|000037f0| 20 69 6e 45 64 69 74 0d | 73 65 74 20 6c 6f 63 6b | inEdit.|set lock|
|00003800| 73 63 72 65 65 6e 20 74 | 6f 20 74 72 75 65 0d 70 |screen t|o true.p|
|00003810| 75 73 68 20 63 61 72 64 | 0d 44 65 6c 65 74 65 41 |ush card|.DeleteA|
|00003820| 6c 6c 20 22 73 75 69 74 | 65 49 6e 66 6f 22 0d 44 |ll "suit|eInfo".D|
|00003830| 65 6c 65 74 65 41 6c 6c | 20 22 65 76 65 6e 74 73 |eleteAll| "events|
|00003840| 22 0d 44 65 6c 65 74 65 | 41 6c 6c 20 22 63 6c 61 |".Delete|All "cla|
|00003850| 73 73 22 0d 44 65 6c 65 | 74 65 41 6c 6c 20 22 63 |ss".Dele|teAll "c|
|00003860| 6f 6d 70 61 72 69 73 6f | 6e 22 0d 44 65 6c 65 74 |ompariso|n".Delet|
|00003870| 65 41 6c 6c 20 22 65 6e | 75 6d 65 72 61 74 69 6f |eAll "en|umeratio|
|00003880| 6e 22 0d 67 6f 20 63 64 | 20 22 6d 61 69 6e 4d 65 |n".go cd| "mainMe|
|00003890| 6e 75 22 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |nu".put |"" into |
|000038a0| 63 61 72 64 20 66 69 65 | 6c 64 20 22 53 75 69 74 |card fie|ld "Suit|
|000038b0| 65 4c 69 73 74 22 0d 70 | 75 74 20 22 22 20 69 6e |eList".p|ut "" in|
|000038c0| 74 6f 20 63 61 72 64 20 | 66 69 65 6c 64 20 22 53 |to card |field "S|
|000038d0| 63 72 61 74 63 68 22 0d | 70 75 74 20 22 22 20 69 |cratch".|put "" i|
|000038e0| 6e 74 6f 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 |nto card| field "|
|000038f0| 73 65 6e 64 54 61 72 67 | 65 74 22 20 6f 66 20 63 |sendTarg|et" of c|
|00003900| 61 72 64 20 22 70 72 65 | 66 65 72 65 6e 63 65 22 |ard "pre|ference"|
|00003910| 0d 70 75 74 20 22 61 65 | 74 65 22 20 69 6e 74 6f |.put "ae|te" into|
|00003920| 20 63 61 72 64 20 66 69 | 65 6c 64 20 22 72 65 73 | card fi|eld "res|
|00003930| 6f 75 72 63 65 54 79 70 | 65 22 20 6f 66 20 63 61 |ourceTyp|e" of ca|
|00003940| 72 64 20 22 70 72 65 66 | 65 72 65 6e 63 65 22 0d |rd "pref|erence".|
|00003950| 70 75 74 20 30 20 69 6e | 74 6f 20 63 61 72 64 20 |put 0 in|to card |
|00003960| 66 69 65 6c 64 20 22 72 | 65 73 6f 75 72 63 65 49 |field "r|esourceI|
|00003970| 44 22 20 6f 66 20 63 61 | 72 64 20 22 70 72 65 66 |D" of ca|rd "pref|
|00003980| 65 72 65 6e 63 65 22 0d | 70 75 74 20 22 22 20 69 |erence".|put "" i|
|00003990| 6e 74 6f 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 |nto card| field "|
|000039a0| 72 65 73 6f 75 72 63 65 | 4e 61 6d 65 22 20 6f 66 |resource|Name" of|
|000039b0| 20 63 61 72 64 20 22 70 | 72 65 66 65 72 65 6e 63 | card "p|referenc|
|000039c0| 65 22 0d 70 75 74 20 31 | 20 69 6e 74 6f 20 63 61 |e".put 1| into ca|
|000039d0| 72 64 20 66 69 65 6c 64 | 20 22 6d 61 6a 6f 72 56 |rd field| "majorV|
|000039e0| 65 72 73 69 6f 6e 22 20 | 6f 66 20 63 61 72 64 20 |ersion" |of card |
|000039f0| 22 70 72 65 66 65 72 65 | 6e 63 65 22 0d 70 75 74 |"prefere|nce".put|
|00003a00| 20 22 30 30 22 20 69 6e | 74 6f 20 63 61 72 64 20 | "00" in|to card |
|00003a10| 66 69 65 6c 64 20 22 6d | 69 6e 6f 72 56 65 72 73 |field "m|inorVers|
|00003a20| 69 6f 6e 22 20 6f 66 20 | 63 61 72 64 20 22 70 72 |ion" of |card "pr|
|00003a30| 65 66 65 72 65 6e 63 65 | 22 0d 70 75 74 20 30 20 |eference|".put 0 |
|00003a40| 69 6e 74 6f 20 63 61 72 | 64 20 66 69 65 6c 64 20 |into car|d field |
|00003a50| 22 6c 61 6e 67 75 61 67 | 65 43 6f 64 65 22 20 6f |"languag|eCode" o|
|00003a60| 66 20 63 61 72 64 20 22 | 70 72 65 66 65 72 65 6e |f card "|preferen|
|00003a70| 63 65 22 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 63 |ce".put |0 into c|
|00003a80| 61 72 64 20 66 69 65 6c | 64 20 22 73 63 72 69 70 |ard fiel|d "scrip|
|00003a90| 74 43 6f 64 65 22 20 6f | 66 20 63 61 72 64 20 22 |tCode" o|f card "|
|00003aa0| 70 72 65 66 65 72 65 6e | 63 65 22 0d 70 75 74 20 |preferen|ce".put |
|00003ab0| 74 72 75 65 20 69 6e 74 | 6f 20 69 6e 45 64 69 74 |true int|o inEdit|
|00003ac0| 0d 69 66 20 74 68 65 20 | 66 72 65 65 73 69 7a 65 |.if the |freesize|
|00003ad0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 3e | of this| stack >|
|00003ae0| 20 33 32 37 36 38 20 74 | 68 65 6e 20 64 6f 4d 65 | 32768 t|hen doMe|
|00003af0| 6e 75 20 22 43 6f 6d 70 | 61 63 74 20 53 74 61 63 |nu "Comp|act Stac|
|00003b00| 6b 22 0d 65 6e 64 20 65 | 6d 70 74 79 53 74 61 63 |k".end e|mptyStac|
|00003b10| 6b 0d 0d 0d 6f 6e 20 44 | 65 6c 65 74 65 41 6c 6c |k...on D|eleteAll|
|00003b20| 20 62 6b 67 6e 64 4e 61 | 6d 65 0d 70 75 74 20 6e | bkgndNa|me.put n|
|00003b30| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 73 20 69 |umber of| cards i|
|00003b40| 6e 20 62 6b 67 6e 64 20 | 62 6b 67 6e 64 4e 61 6d |n bkgnd |bkgndNam|
|00003b50| 65 20 69 6e 74 6f 20 69 | 0d 72 65 70 65 61 74 20 |e into i|.repeat |
|00003b60| 77 68 69 6c 65 20 69 20 | 3e 20 31 0d 67 6f 20 63 |while i |> 1.go c|
|00003b70| 61 72 64 20 69 20 6f 66 | 20 62 6b 67 6e 64 20 62 |ard i of| bkgnd b|
|00003b80| 6b 67 6e 64 4e 61 6d 65 | 0d 64 6f 4d 65 6e 75 20 |kgndName|.doMenu |
|00003b90| 22 44 65 6c 65 74 65 20 | 43 61 72 64 22 0d 73 75 |"Delete |Card".su|
|00003ba0| 62 74 72 61 63 74 20 31 | 20 66 72 6f 6d 20 69 0d |btract 1| from i.|
|00003bb0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 44 |end repe|at.end D|
|00003bc0| 65 6c 65 74 65 41 6c 6c | 0d 0d 00 00 00 00 00 00 |eleteAll|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c80| 00 00 04 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00003c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ca0| 00 20 f1 2c 00 21 0a 2e | 00 15 66 ca 00 20 e6 8b |. .,.!..|..f.. ..|
|00003cb0| 00 21 bc 06 00 21 c5 ef | 00 02 44 3c 00 0a 53 2d |.!...!..|..D<..S-|
|00003cc0| 00 0a ae 2e 00 0e 8a 6f | 00 04 1b df 00 03 56 c0 |.......o|......V.|
|00003cd0| 00 20 fd b1 00 04 22 d8 | 00 06 e9 a6 00 21 81 d8 |. ....".|.....!..|
|00003ce0| 00 06 f6 64 00 08 b7 50 | 00 09 a8 ed 00 21 b7 16 |...d...P|.....!..|
|00003cf0| 00 09 ac af 00 21 b2 f2 | 00 08 bf 85 00 0a 31 16 |.....!..|......1.|
|00003d00| 00 21 07 49 00 21 12 c4 | 00 21 19 90 00 20 ef 09 |.!.I.!..|.!... ..|
|00003d10| 00 21 20 75 00 21 2c 7e | 00 21 36 04 00 21 3e b7 |.! u.!,~|.!6..!>.|
|00003d20| 00 21 49 14 00 21 52 52 | 00 21 5d c9 00 21 6e 36 |.!I..!RR|.!]..!n6|
|00003d30| 00 21 78 38 00 15 72 1d | 00 21 87 f4 00 21 97 76 |.!x8..r.|.!...!.v|
|00003d40| 00 02 00 9e 00 00 00 00 | 00 00 00 00 00 02 04 12 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 0e 92 fa | 00 00 00 00 00 0a 35 83 |........|......5.|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 21 c8 d9 00 00 00 00 | 00 00 00 00 00 00 00 00 |.!......|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004080| 00 00 00 80 4c 49 53 54 | 00 00 30 9e 00 00 00 00 |....LIST|..0.....|
|00004090| 00 00 00 01 00 00 08 00 | 00 00 00 18 00 24 00 02 |........|.....$..|
|000040a0| 00 08 00 03 40 00 06 7a | 00 00 00 18 00 00 00 00 |....@..z|........|
|000040b0| 00 00 33 12 00 18 00 00 | 00 00 00 00 00 00 00 00 |..3.....|........|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004100| 00 00 08 00 50 41 47 45 | 00 00 33 12 00 00 00 00 |....PAGE|..3.....|
|00004110| 00 00 30 9e f2 8b 92 1b | 00 00 3b 83 60 03 e5 68 |..0.....|..;.`..h|
|00004120| 87 45 61 a2 c1 14 20 02 | 32 05 85 02 cb 00 a1 3c |.Ea... .|2......<|
|00004130| c8 86 22 44 80 10 14 6c | 90 aa 20 80 00 00 10 2e |.."D...l|.. .....|
|00004140| a0 7f ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00004150| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff c0 |........|........|
|00004160| 00 00 39 fa a0 00 00 20 | 02 00 80 00 00 00 00 00 |..9.... |........|
|00004170| 00 00 00 00 80 00 00 00 | 84 00 02 00 84 20 00 00 |........|..... ..|
|00004180| 00 28 00 00 00 00 2d 1d | a0 7f ff ff ff ff ff ff |.(....-.|........|
|00004190| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000041a0| ff ff ff ff ff ff ff c0 | 00 00 23 09 e0 00 00 00 |........|..#.....|
|000041b0| 00 00 08 02 00 00 80 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041c0| 00 00 00 00 00 00 00 08 | 00 80 00 00 00 00 08 2c |........|.......,|
|000041d0| a0 0e ad c4 a3 22 db 6e | 3f aa e9 32 cd a9 31 54 |.....".n|?..2..1T|
|000041e0| 01 8a 30 ca 84 de a1 82 | ae 24 ff 0c 32 98 9d 80 |..0.....|.$..2...|
|000041f0| 00 00 14 b1 e0 11 41 8c | 08 a5 04 60 98 39 a2 80 |......A.|...`.9..|
|00004200| 93 10 01 00 16 81 10 34 | ac b0 a2 04 50 27 42 98 |.......4|....P'B.|
|00004210| 22 00 1a 00 00 00 09 2e | a0 04 f9 cc 89 94 90 26 |".......|.......&|
|00004220| 0c 6a f2 2a 1d 5c 11 01 | ca c3 04 00 a4 40 34 24 |.j.*.\..|.....@4$|
|00004230| 86 68 28 d4 80 6f 40 80 | 00 00 21 c4 a0 04 71 cc |.h(..o@.|..!...q.|
|00004240| 09 90 90 2e 08 08 a2 2a | 19 d8 11 01 c2 42 04 80 |.......*|.....B..|
|00004250| a4 40 34 24 84 60 28 d0 | 82 2b 40 80 00 00 22 90 |.@4$.`(.|.+@...".|
|00004260| a0 08 59 40 c8 10 d0 04 | a2 80 a0 6e 09 98 11 08 |..Y@....|...n....|
|00004270| 40 50 04 08 24 80 24 04 | 04 20 20 1c 00 00 90 80 |@P..$.$.|. .....|
|00004280| 00 00 24 75 a0 0b 5b 82 | 68 14 d1 89 22 82 ed 2e |..$u..[.|h..."...|
|00004290| 09 8a 33 54 4d 51 85 80 | 34 98 14 85 04 be a0 09 |..3TMQ..|4.......|
|000042a0| 00 20 72 80 00 00 25 7e | a0 08 59 84 48 54 d0 21 |. r...%~|..Y.HT.!|
|000042b0| 23 80 60 2e 09 98 11 50 | 40 40 24 20 24 48 04 44 |#.`....P|@@$ $H.D|
|000042c0| 2c 2c a4 28 a0 20 62 80 | 00 00 26 04 a0 08 59 40 |,,.(. b.|..&...Y@|
|000042d0| 48 10 d0 54 02 d0 b1 ae | 09 99 31 08 41 58 24 80 |H..T....|..1.AX$.|
|000042e0| 24 40 a4 85 26 a4 30 18 | 00 00 10 80 00 00 27 b7 |$@..&.0.|......'.|
|000042f0| a0 08 5b 48 c8 90 d0 24 | 3a b4 24 3e 08 b8 11 48 |..[H...$|:.$>...H|
|00004300| 40 40 04 08 a5 c4 05 1c | a4 20 a8 18 02 10 34 c0 |@@......|. ....4.|
|00004310| 00 00 28 14 a0 48 5d 04 | 48 12 d0 38 33 80 20 2e |..(..H].|H..83. .|
|00004320| c8 98 11 80 40 68 14 11 | a5 40 1d 04 04 34 79 08 |....@h..|.@...4y.|
|00004330| c2 2c 00 80 00 00 29 52 | a0 0a 59 90 48 54 d0 b4 |.,....)R|..Y.HT..|
|00004340| 12 90 61 ae 09 88 15 10 | 48 43 24 40 24 5a 14 04 |..a.....|HC$@$Z..|
|00004350| 2e 28 e4 49 10 21 d2 80 | 00 00 2a c9 a0 39 db 4b |.(.I.!..|..*..9.K|
|00004360| da 90 d2 a5 12 94 ef ee | 99 da 33 70 c9 54 44 c0 |........|..3p.TD.|
|00004370| e5 80 34 5d 8c f6 ae 1d | 00 00 74 c0 00 00 2b 36 |..4]....|..t...+6|
|00004380| a0 08 7b 48 48 b2 d0 24 | 1a 99 25 2e 48 98 31 48 |..{HH..$|..%.H.1H|
|00004390| 46 40 0c 00 a5 80 24 5c | 84 24 a8 18 21 00 24 c0 |F@....$\|.$..!.$.|
|000043a0| 00 00 2c 38 a0 08 59 44 | 48 90 d1 44 02 82 a8 2e |..,8..YD|H..D....|
|000043b0| 09 b8 11 08 42 40 04 00 | 25 00 2c 84 4c 20 a4 1c |....B@..|%.,.L ..|
|000043c0| 0a 00 04 80 00 00 17 d8 | e0 01 40 00 40 05 04 20 |........|..@.@.. |
|000043d0| 1a 31 20 80 1a 00 03 00 | 18 81 10 34 88 10 20 00 |.1 .....|...4.. .|
|000043e0| 00 22 40 88 00 00 02 00 | 00 00 2e f4 a0 7d 20 3c |."@.....|.....} <|
|000043f0| 51 30 c2 b2 0b 08 20 52 | af 68 a3 c0 4c ce 10 a4 |Q0.... R|.h..L...|
|00004400| 9c c1 58 14 86 76 cb 1d | 0c 23 f2 80 00 00 2f 76 |..X..v..|.#..../v|
|00004410| a0 77 63 fd 70 df cb f7 | b6 1e fd 1b bd 6f db fa |.wc.p...|.....o..|
|00004420| 4f ce 97 da fe 05 bc d7 | ce 7d db fd b6 93 f7 80 |O.......|.}......|
|00004430| 00 00 1d f2 e0 01 40 00 | 01 05 84 30 18 39 20 88 |......@.|...0.9 .|
|00004440| 12 00 01 00 18 c1 30 34 | 88 10 20 00 40 22 40 88 |......04|.. .@"@.|
|00004450| 00 00 02 00 00 00 1b 16 | 60 01 40 00 00 05 04 20 |........|`.@.... |
|00004460| 18 31 20 80 12 00 01 00 | 10 81 10 34 88 10 20 00 |.1 .....|...4.. .|
|00004470| 00 22 40 88 00 00 02 00 | 00 00 00 00 00 00 00 00 |."@.....|........|
|00004480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004900| 00 00 22 40 42 4b 47 44 | 00 00 0e 3c 00 00 00 00 |.."@BKGD|...<....|
|00004910| 00 00 00 00 00 00 00 00 | 00 00 00 04 00 00 13 c0 |........|........|
|00004920| 00 00 1c af 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00004930| 00 00 00 6f 6e 20 4c 6f | 63 61 6c 69 7a 61 74 69 |...on Lo|calizati|
|00004940| 6f 6e 20 6f 75 74 4f 6e | 6c 79 0d 67 6c 6f 62 61 |on outOn|ly.globa|
|00004950| 6c 20 74 72 61 6e 73 6c | 61 74 69 6f 6e 54 61 62 |l transl|ationTab|
|00004960| 6c 65 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 74 |le.put "|" into t|
|00004970| 72 61 6e 73 6c 61 74 69 | 6f 6e 54 61 62 6c 65 0d |ranslati|onTable.|
|00004980| 69 66 20 6e 6f 74 20 6f | 75 74 4f 6e 6c 79 20 74 |if not o|utOnly t|
|00004990| 68 65 6e 0d 61 6e 73 77 | 65 72 20 66 69 6c 65 20 |hen.answ|er file |
|000049a0| 22 44 6f 20 79 6f 75 20 | 77 69 73 68 20 74 6f 20 |"Do you |wish to |
|000049b0| 75 73 65 20 61 20 74 72 | 61 6e 73 6c 61 74 69 6f |use a tr|anslatio|
|000049c0| 6e 20 74 61 62 6c 65 20 | 66 69 6c 65 3f 22 20 6f |n table |file?" o|
|000049d0| 66 20 74 79 70 65 20 74 | 65 78 74 0d 69 66 20 28 |f type t|ext.if (|
|000049e0| 69 74 20 3c 3e 20 22 22 | 29 20 61 6e 64 20 28 69 |it <> ""|) and (i|
|000049f0| 74 20 3c 3e 20 22 43 61 | 6e 63 65 6c 22 29 20 74 |t <> "Ca|ncel") t|
|00004a00| 68 65 6e 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |hen.put |it into |
|00004a10| 74 68 65 46 69 6c 65 4e | 61 6d 65 0d 6f 70 65 6e |theFileN|ame.open|
|00004a20| 20 66 69 6c 65 20 74 68 | 65 46 69 6c 65 4e 61 6d | file th|eFileNam|
|00004a30| 65 0d 72 65 70 65 61 74 | 20 66 6f 72 65 76 65 72 |e.repeat| forever|
|00004a40| 0d 72 65 61 64 20 66 72 | 6f 6d 20 66 69 6c 65 20 |.read fr|om file |
|00004a50| 74 68 65 46 69 6c 65 4e | 61 6d 65 20 66 6f 72 20 |theFileN|ame for |
|00004a60| 31 36 33 38 34 0d 69 66 | 20 69 74 20 69 73 20 65 |16384.if| it is e|
|00004a70| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 72 |mpty the|n exit r|
|00004a80| 65 70 65 61 74 0d 70 75 | 74 20 69 74 20 61 66 74 |epeat.pu|t it aft|
|00004a90| 65 72 20 74 72 61 6e 73 | 6c 61 74 69 6f 6e 54 61 |er trans|lationTa|
|00004aa0| 62 6c 65 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 63 |ble.end |repeat.c|
|00004ab0| 6c 6f 73 65 20 66 69 6c | 65 20 74 68 65 46 69 6c |lose fil|e theFil|
|00004ac0| 65 4e 61 6d 65 0d 65 6e | 64 20 69 66 0d 69 66 20 |eName.en|d if.if |
|00004ad0| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 54 61 62 6c 65 |translat|ionTable|
|00004ae0| 20 3c 3e 20 22 22 20 74 | 68 65 6e 0d 61 6e 73 77 | <> "" t|hen.answ|
|00004af0| 65 72 20 22 44 6f 20 79 | 6f 75 20 77 61 6e 74 20 |er "Do y|ou want |
|00004b00| 74 6f 20 63 6f 6e 66 69 | 72 6d 20 61 75 74 6f 6d |to confi|rm autom|
|00004b10| 61 74 69 63 61 6c 6c 79 | 20 74 72 61 6e 73 6c 61 |atically| transla|
|00004b20| 74 65 64 20 73 74 72 69 | 6e 67 3f 22 20 77 69 74 |ted stri|ng?" wit|
|00004b30| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 4e |h "Cance|l" or "N|
|00004b40| 6f 22 20 6f 72 20 22 59 | 65 73 22 0d 69 66 20 69 |o" or "Y|es".if i|
|00004b50| 74 20 3d 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 |t = "Can|cel" the|
|00004b60| 6e 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 74 72 |n.put ""| into tr|
|00004b70| 61 6e 73 6c 61 74 69 6f | 6e 54 61 62 6c 65 0d 65 |anslatio|nTable.e|
|00004b80| 78 69 74 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |xit to H|yperCard|
|00004b90| 0d 65 6c 73 65 0d 70 75 | 74 20 69 74 20 69 6e 74 |.else.pu|t it int|
|00004ba0| 6f 20 6f 75 74 4f 6e 6c | 79 0d 65 6e 64 20 69 66 |o outOnl|y.end if|
|00004bb0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 72 |.end if.|end if.r|
|00004bc0| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 32 |epeat wi|th i = 2|
|00004bd0| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 61 | to numb|er of ca|
|00004be0| 72 64 73 20 69 6e 20 62 | 6b 67 6e 64 20 22 65 76 |rds in b|kgnd "ev|
|00004bf0| 65 6e 74 73 22 0d 69 66 | 20 6e 6f 74 20 68 69 6c |ents".if| not hil|
|00004c00| 69 74 65 20 6f 66 20 62 | 6b 67 6e 64 20 62 75 74 |ite of b|kgnd but|
|00004c10| 74 6f 6e 20 22 66 72 6f | 6d 20 41 45 55 54 22 20 |ton "fro|m AEUT" |
|00004c20| 6f 66 20 63 61 72 64 20 | 69 20 6f 66 20 62 6b 67 |of card |i of bkg|
|00004c30| 6e 64 20 22 65 76 65 6e | 74 73 22 20 74 68 65 6e |nd "even|ts" then|
|00004c40| 0d 54 72 61 6e 73 6c 61 | 74 65 46 69 65 6c 64 20 |.Transla|teField |
|00004c50| 6f 75 74 4f 6e 6c 79 2c | 22 65 76 65 6e 74 73 22 |outOnly,|"events"|
|00004c60| 2c 69 2c 22 65 76 65 6e | 74 4e 61 6d 65 22 0d 54 |,i,"even|tName".T|
|00004c70| 72 61 6e 73 6c 61 74 65 | 46 69 65 6c 64 20 6f 75 |ranslate|Field ou|
|00004c80| 74 4f 6e 6c 79 2c 22 65 | 76 65 6e 74 73 22 2c 69 |tOnly,"e|vents",i|
|00004c90| 2c 22 65 76 65 6e 74 43 | 6f 6d 6d 65 6e 74 22 0d |,"eventC|omment".|
|00004ca0| 54 72 61 6e 73 6c 61 74 | 65 47 72 6f 75 70 20 6f |Translat|eGroup o|
|00004cb0| 75 74 4f 6e 6c 79 2c 35 | 2c 22 65 76 65 6e 74 73 |utOnly,5|,"events|
|00004cc0| 22 2c 69 2c 22 70 61 72 | 61 6d 49 6e 66 6f 22 0d |",i,"par|amInfo".|
|00004cd0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00004ce0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |t.repeat| with i |
|00004cf0| 3d 20 32 20 74 6f 20 6e | 75 6d 62 65 72 20 6f 66 |= 2 to n|umber of|
|00004d00| 20 63 61 72 64 73 20 69 | 6e 20 62 6b 67 6e 64 20 | cards i|n bkgnd |
|00004d10| 22 63 6c 61 73 73 22 0d | 69 66 20 6e 6f 74 20 68 |"class".|if not h|
|00004d20| 69 6c 69 74 65 20 6f 66 | 20 62 6b 67 6e 64 20 62 |ilite of| bkgnd b|
|00004d30| 75 74 74 6f 6e 20 22 66 | 72 6f 6d 20 41 45 55 54 |utton "f|rom AEUT|
|00004d40| 22 20 6f 66 20 63 61 72 | 64 20 69 20 6f 66 20 62 |" of car|d i of b|
|00004d50| 6b 67 6e 64 20 22 63 6c | 61 73 73 22 20 74 68 65 |kgnd "cl|ass" the|
|00004d60| 6e 0d 54 72 61 6e 73 6c | 61 74 65 46 69 65 6c 64 |n.Transl|ateField|
|00004d70| 20 6f 75 74 4f 6e 6c 79 | 2c 22 63 6c 61 73 73 22 | outOnly|,"class"|
|00004d80| 2c 69 2c 22 63 6c 61 73 | 73 4e 61 6d 65 22 0d 54 |,i,"clas|sName".T|
|00004d90| 72 61 6e 73 6c 61 74 65 | 46 69 65 6c 64 20 6f 75 |ranslate|Field ou|
|00004da0| 74 4f 6e 6c 79 2c 22 63 | 6c 61 73 73 22 2c 69 2c |tOnly,"c|lass",i,|
|00004db0| 22 63 6c 61 73 73 43 6f | 6d 6d 65 6e 74 22 0d 54 |"classCo|mment".T|
|00004dc0| 72 61 6e 73 6c 61 74 65 | 47 72 6f 75 70 20 6f 75 |ranslate|Group ou|
|00004dd0| 74 4f 6e 6c 79 2c 35 2c | 22 63 6c 61 73 73 22 2c |tOnly,5,|"class",|
|00004de0| 69 2c 22 70 72 6f 70 49 | 6e 66 6f 22 0d 65 6e 64 |i,"propI|nfo".end|
|00004df0| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 | if.end |repeat.r|
|00004e00| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 32 |epeat wi|th i = 2|
|00004e10| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 61 | to numb|er of ca|
|00004e20| 72 64 73 20 69 6e 20 62 | 6b 67 6e 64 20 22 63 6f |rds in b|kgnd "co|
|00004e30| 6d 70 61 72 69 73 6f 6e | 22 0d 69 66 20 6e 6f 74 |mparison|".if not|
|00004e40| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 6b 67 6e 64 | hilite |of bkgnd|
|00004e50| 20 62 75 74 74 6f 6e 20 | 22 66 72 6f 6d 20 41 45 | button |"from AE|
|00004e60| 55 54 22 20 6f 66 20 63 | 61 72 64 20 69 20 6f 66 |UT" of c|ard i of|
|00004e70| 20 62 6b 67 6e 64 20 22 | 63 6f 6d 70 61 72 69 73 | bkgnd "|comparis|
|00004e80| 6f 6e 22 20 74 68 65 6e | 0d 54 72 61 6e 73 6c 61 |on" then|.Transla|
|00004e90| 74 65 46 69 65 6c 64 20 | 6f 75 74 4f 6e 6c 79 2c |teField |outOnly,|
|00004ea0| 22 63 6f 6d 70 61 72 69 | 73 6f 6e 22 2c 69 2c 22 |"compari|son",i,"|
|00004eb0| 63 6f 6d 70 61 72 65 4e | 61 6d 65 22 0d 54 72 61 |compareN|ame".Tra|
|00004ec0| 6e 73 6c 61 74 65 46 69 | 65 6c 64 20 6f 75 74 4f |nslateFi|eld outO|
|00004ed0| 6e 6c 79 2c 22 63 6f 6d | 70 61 72 69 73 6f 6e 22 |nly,"com|parison"|
|00004ee0| 2c 69 2c 22 63 6f 6d 70 | 61 72 65 43 6f 6d 6d 65 |,i,"comp|areComme|
|00004ef0| 6e 74 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |nt".end |if.end r|
|00004f00| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit|
|00004f10| 68 20 69 20 3d 20 32 20 | 74 6f 20 6e 75 6d 62 65 |h i = 2 |to numbe|
|00004f20| 72 20 6f 66 20 63 61 72 | 64 73 20 69 6e 20 62 6b |r of car|ds in bk|
|00004f30| 67 6e 64 20 22 65 6e 75 | 6d 65 72 61 74 69 6f 6e |gnd "enu|meration|
|00004f40| 22 0d 69 66 20 6e 6f 74 | 20 68 69 6c 69 74 65 20 |".if not| hilite |
|00004f50| 6f 66 20 62 6b 67 6e 64 | 20 62 75 74 74 6f 6e 20 |of bkgnd| button |
|00004f60| 22 66 72 6f 6d 20 41 45 | 55 54 22 20 6f 66 20 63 |"from AE|UT" of c|
|00004f70| 61 72 64 20 69 20 6f 66 | 20 62 6b 67 6e 64 20 22 |ard i of| bkgnd "|
|00004f80| 65 6e 75 6d 65 72 61 74 | 69 6f 6e 22 20 74 68 65 |enumerat|ion" the|
|00004f90| 6e 0d 54 72 61 6e 73 6c | 61 74 65 47 72 6f 75 70 |n.Transl|ateGroup|
|00004fa0| 20 6f 75 74 4f 6e 6c 79 | 2c 33 2c 22 65 6e 75 6d | outOnly|,3,"enum|
|00004fb0| 65 72 61 74 69 6f 6e 22 | 2c 69 2c 22 65 6e 75 6d |eration"|,i,"enum|
|00004fc0| 49 6e 66 6f 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Info".en|d if.end|
|00004fd0| 20 72 65 70 65 61 74 0d | 67 6f 20 63 64 20 22 6d | repeat.|go cd "m|
|00004fe0| 61 69 6e 4d 65 6e 75 22 | 0d 50 75 74 53 63 72 61 |ainMenu"|.PutScra|
|00004ff0| 74 63 68 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 54 |tch tran|slationT|
|00005000| 61 62 6c 65 2c 20 22 54 | 72 61 6e 73 6c 61 74 69 |able, "T|ranslati|
|00005010| 6f 6e 20 74 61 62 6c 65 | 22 0d 69 66 20 6f 75 74 |on table|".if out|
|00005020| 4f 6e 6c 79 20 3c 3e 20 | 22 74 72 75 65 22 20 74 |Only <> |"true" t|
|00005030| 68 65 6e 0d 43 6f 6e 73 | 74 72 75 63 74 4c 69 6e |hen.Cons|tructLin|
|00005040| 6b 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 22 22 20 |k.end if|.put "" |
|00005050| 69 6e 74 6f 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e |into tra|nslation|
|00005060| 54 61 62 6c 65 0d 65 6e | 64 20 4c 6f 63 61 6c 69 |Table.en|d Locali|
|00005070| 7a 61 74 69 6f 6e 0d 0d | 6f 6e 20 54 72 61 6e 73 |zation..|on Trans|
|00005080| 6c 61 74 65 46 69 65 6c | 64 20 6f 75 74 4f 6e 6c |lateFiel|d outOnl|
|00005090| 79 2c 20 62 6b 67 6e 64 | 4e 61 6d 65 2c 20 63 61 |y, bkgnd|Name, ca|
|000050a0| 72 64 4e 6f 2c 20 66 69 | 65 6c 64 4e 61 6d 65 0d |rdNo, fi|eldName.|
|000050b0| 70 75 74 20 22 66 69 65 | 6c 64 22 20 26 26 20 71 |put "fie|ld" && q|
|000050c0| 75 6f 74 65 20 26 20 66 | 69 65 6c 64 4e 61 6d 65 |uote & f|ieldName|
|000050d0| 20 26 20 71 75 6f 74 65 | 20 26 26 20 22 6f 66 20 | & quote| && "of |
|000050e0| 63 61 72 64 22 20 26 26 | 20 63 61 72 64 4e 6f 20 |card" &&| cardNo |
|000050f0| c2 0d 26 26 20 22 6f 66 | 20 62 6b 67 6e 64 22 20 |..&& "of| bkgnd" |
|00005100| 26 26 20 71 75 6f 74 65 | 20 26 20 62 6b 67 6e 64 |&& quote| & bkgnd|
|00005110| 4e 61 6d 65 20 26 20 71 | 75 6f 74 65 20 69 6e 74 |Name & q|uote int|
|00005120| 6f 20 63 68 75 6e 6b 4e | 61 6d 65 0d 70 75 74 20 |o chunkN|ame.put |
|00005130| 76 61 6c 75 65 20 6f 66 | 20 63 68 75 6e 6b 4e 61 |value of| chunkNa|
|00005140| 6d 65 20 69 6e 74 6f 20 | 63 68 75 6e 6b 56 61 6c |me into |chunkVal|
|00005150| 75 65 0d 69 66 20 63 68 | 75 6e 6b 56 61 6c 75 65 |ue.if ch|unkValue|
|00005160| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00005170| 65 6e 0d 69 66 20 6f 75 | 74 4f 6e 6c 79 20 3d 20 |en.if ou|tOnly = |
|00005180| 22 74 72 75 65 22 20 74 | 68 65 6e 0d 73 65 74 20 |"true" t|hen.set |
|00005190| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 55 |cursor t|o busy.U|
|000051a0| 70 64 61 74 65 54 61 62 | 6c 65 20 63 68 75 6e 6b |pdateTab|le chunk|
|000051b0| 56 61 6c 75 65 2c 20 63 | 68 75 6e 6b 56 61 6c 75 |Value, c|hunkValu|
|000051c0| 65 20 26 20 22 27 73 20 | 74 72 61 6e 73 6c 61 74 |e & "'s |translat|
|000051d0| 69 6f 6e 22 0d 65 6c 73 | 65 0d 70 75 74 20 54 72 |ion".els|e.put Tr|
|000051e0| 61 6e 73 6c 61 74 65 54 | 68 69 73 28 63 68 75 6e |anslateT|his(chun|
|000051f0| 6b 56 61 6c 75 65 29 20 | 69 6e 74 6f 20 69 74 0d |kValue) |into it.|
|00005200| 69 66 20 6f 75 74 4f 6e | 6c 79 20 3d 20 22 6e 6f |if outOn|ly = "no|
|00005210| 22 20 74 68 65 6e 20 2d | 2d 20 77 65 20 64 6f 20 |" then -|- we do |
|00005220| 6e 6f 74 20 6e 65 65 64 | 20 74 6f 20 63 6f 6e 66 |not need| to conf|
|00005230| 69 72 6d 0d 69 66 20 69 | 74 20 3c 3e 20 22 40 23 |irm.if i|t <> "@#|
|00005240| 24 25 22 20 74 68 65 6e | 20 2d 2d 20 77 65 20 68 |$%" then| -- we h|
|00005250| 61 76 65 20 61 20 74 72 | 61 6e 73 6c 61 74 69 6f |ave a tr|anslatio|
|00005260| 6e 0d 69 66 20 69 74 20 | 3c 3e 20 22 63 68 75 6e |n.if it |<> "chun|
|00005270| 6b 56 61 6c 75 65 22 20 | 74 68 65 6e 20 2d 2d 20 |kValue" |then -- |
|00005280| 74 68 65 20 76 61 6c 75 | 65 20 69 73 20 63 68 61 |the valu|e is cha|
|00005290| 6e 67 65 64 0d 64 6f 20 | 22 70 75 74 20 69 74 20 |nged.do |"put it |
|000052a0| 69 6e 74 6f 22 20 26 26 | 20 63 68 75 6e 6b 4e 61 |into" &&| chunkNa|
|000052b0| 6d 65 20 2d 2d 20 77 72 | 69 74 65 20 69 74 20 62 |me -- wr|ite it b|
|000052c0| 61 63 6b 0d 65 6e 64 20 | 69 66 0d 65 78 69 74 20 |ack.end |if.exit |
|000052d0| 54 72 61 6e 73 6c 61 74 | 65 46 69 65 6c 64 20 2d |Translat|eField -|
|000052e0| 2d 20 64 6f 6e 65 0d 65 | 6e 64 20 69 66 0d 65 6e |- done.e|nd if.en|
|000052f0| 64 20 69 66 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |d if.put| it into|
|00005300| 20 6f 6c 64 54 72 61 6e | 73 0d 69 66 20 69 74 20 | oldTran|s.if it |
|00005310| 3d 20 22 40 23 24 25 22 | 20 74 68 65 6e 20 2d 2d |= "@#$%"| then --|
|00005320| 20 77 65 20 64 6f 20 6e | 6f 74 20 68 61 76 65 20 | we do n|ot have |
|00005330| 61 20 74 72 61 6e 73 6c | 61 74 69 6f 6e 0d 70 75 |a transl|ation.pu|
|00005340| 74 20 63 68 75 6e 6b 56 | 61 6c 75 65 20 69 6e 74 |t chunkV|alue int|
|00005350| 6f 20 69 74 0d 65 6e 64 | 20 69 66 0d 61 73 6b 20 |o it.end| if.ask |
|00005360| 22 54 72 61 6e 73 6c 61 | 74 65 22 20 26 26 20 71 |"Transla|te" && q|
|00005370| 75 6f 74 65 20 26 20 63 | 68 75 6e 6b 56 61 6c 75 |uote & c|hunkValu|
|00005380| 65 20 26 20 71 75 6f 74 | 65 20 26 26 20 22 74 6f |e & quot|e && "to|
|00005390| 3a 22 20 77 69 74 68 20 | 69 74 0d 69 66 20 74 68 |:" with |it.if th|
|000053a0| 65 20 72 65 73 75 6c 74 | 20 3d 20 22 43 61 6e 63 |e result| = "Canc|
|000053b0| 65 6c 22 20 74 68 65 6e | 0d 43 6f 6e 73 74 72 75 |el" then|.Constru|
|000053c0| 63 74 4c 69 6e 6b 0d 65 | 78 69 74 20 74 6f 20 48 |ctLink.e|xit to H|
|000053d0| 79 70 65 72 43 61 72 64 | 0d 65 6c 73 65 0d 64 6f |yperCard|.else.do|
|000053e0| 20 22 70 75 74 20 69 74 | 20 69 6e 74 6f 22 20 26 | "put it| into" &|
|000053f0| 26 20 63 68 75 6e 6b 4e | 61 6d 65 0d 69 66 20 28 |& chunkN|ame.if (|
|00005400| 6f 6c 64 54 72 61 6e 73 | 20 3c 3e 20 69 74 29 20 |oldTrans| <> it) |
|00005410| 61 6e 64 20 28 63 68 75 | 6e 6b 56 61 6c 75 65 20 |and (chu|nkValue |
|00005420| 3c 3e 20 69 74 29 20 74 | 68 65 6e 20 2d 2d 20 74 |<> it) t|hen -- t|
|00005430| 68 69 73 20 69 73 20 61 | 20 6e 65 77 20 74 72 61 |his is a| new tra|
|00005440| 6e 73 6c 61 74 69 6f 6e | 2c 20 75 70 64 61 74 65 |nslation|, update|
|00005450| 20 74 61 62 6c 65 0d 55 | 70 64 61 74 65 54 61 62 | table.U|pdateTab|
|00005460| 6c 65 20 63 68 75 6e 6b | 56 61 6c 75 65 2c 20 69 |le chunk|Value, i|
|00005470| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |t.end if|.end if.|
|00005480| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00005490| 64 20 54 72 61 6e 73 6c | 61 74 65 46 69 65 6c 64 |d Transl|ateField|
|000054a0| 0d 0d 6f 6e 20 54 72 61 | 6e 73 6c 61 74 65 47 72 |..on Tra|nslateGr|
|000054b0| 6f 75 70 20 6f 75 74 4f | 6e 6c 79 2c 20 63 6f 6d |oup outO|nly, com|
|000054c0| 6d 65 6e 74 49 74 65 6d | 2c 62 6b 67 6e 64 4e 61 |mentItem|,bkgndNa|
|000054d0| 6d 65 2c 20 63 61 72 64 | 4e 6f 2c 20 66 69 65 6c |me, card|No, fiel|
|000054e0| 64 4e 61 6d 65 0d 70 75 | 74 20 22 66 69 65 6c 64 |dName.pu|t "field|
|000054f0| 22 20 26 26 20 71 75 6f | 74 65 20 26 20 66 69 65 |" && quo|te & fie|
|00005500| 6c 64 4e 61 6d 65 20 26 | 20 71 75 6f 74 65 20 26 |ldName &| quote &|
|00005510| 26 20 22 6f 66 20 63 61 | 72 64 22 20 26 26 20 63 |& "of ca|rd" && c|
|00005520| 61 72 64 4e 6f 20 c2 0d | 26 26 20 22 6f 66 20 62 |ardNo ..|&& "of b|
|00005530| 6b 67 6e 64 22 20 26 26 | 20 71 75 6f 74 65 20 26 |kgnd" &&| quote &|
|00005540| 20 62 6b 67 6e 64 4e 61 | 6d 65 20 26 20 71 75 6f | bkgndNa|me & quo|
|00005550| 74 65 20 69 6e 74 6f 20 | 63 68 75 6e 6b 4e 61 6d |te into |chunkNam|
|00005560| 65 0d 70 75 74 20 76 61 | 6c 75 65 20 6f 66 20 63 |e.put va|lue of c|
|00005570| 68 75 6e 6b 4e 61 6d 65 | 20 69 6e 74 6f 20 70 61 |hunkName| into pa|
|00005580| 72 61 6d 49 6e 66 6f 0d | 72 65 70 65 61 74 20 77 |ramInfo.|repeat w|
|00005590| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith i = |1 to num|
|000055a0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|000055b0| 70 61 72 61 6d 49 6e 66 | 6f 0d 70 75 74 20 6c 69 |paramInf|o.put li|
|000055c0| 6e 65 20 69 20 6f 66 20 | 70 61 72 61 6d 49 6e 66 |ne i of |paramInf|
|000055d0| 6f 20 69 6e 74 6f 20 74 | 68 69 73 50 61 72 61 6d |o into t|hisParam|
|000055e0| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |.put ite|m 1 of t|
|000055f0| 68 69 73 50 61 72 61 6d | 20 69 6e 74 6f 20 69 74 |hisParam| into it|
|00005600| 73 4e 61 6d 65 0d 70 75 | 74 20 69 74 65 6d 20 31 |sName.pu|t item 1|
|00005610| 20 74 6f 20 28 63 6f 6d | 6d 65 6e 74 49 74 65 6d | to (com|mentItem|
|00005620| 2d 31 29 20 6f 66 20 74 | 68 69 73 50 61 72 61 6d |-1) of t|hisParam|
|00005630| 20 69 6e 74 6f 20 6e 65 | 77 50 61 72 61 6d 0d 64 | into ne|wParam.d|
|00005640| 65 6c 65 74 65 20 69 74 | 65 6d 20 31 20 74 6f 20 |elete it|em 1 to |
|00005650| 28 63 6f 6d 6d 65 6e 74 | 49 74 65 6d 2d 31 29 20 |(comment|Item-1) |
|00005660| 6f 66 20 74 68 69 73 50 | 61 72 61 6d 0d 69 66 20 |of thisP|aram.if |
|00005670| 69 74 73 4e 61 6d 65 20 | 3c 3e 20 22 22 20 74 68 |itsName |<> "" th|
|00005680| 65 6e 0d 70 75 74 20 54 | 72 61 6e 73 6c 61 74 65 |en.put T|ranslate|
|00005690| 53 74 72 69 6e 67 28 6f | 75 74 4f 6e 6c 79 2c 69 |String(o|utOnly,i|
|000056a0| 74 73 4e 61 6d 65 29 20 | 69 6e 74 6f 20 69 74 65 |tsName) |into ite|
|000056b0| 6d 20 31 20 6f 66 20 6e | 65 77 50 61 72 61 6d 0d |m 1 of n|ewParam.|
|000056c0| 65 6e 64 20 69 66 0d 69 | 66 20 74 68 69 73 50 61 |end if.i|f thisPa|
|000056d0| 72 61 6d 20 3c 3e 20 22 | 22 20 74 68 65 6e 0d 70 |ram <> "|" then.p|
|000056e0| 75 74 20 22 2c 22 20 26 | 20 54 72 61 6e 73 6c 61 |ut "," &| Transla|
|000056f0| 74 65 53 74 72 69 6e 67 | 28 6f 75 74 4f 6e 6c 79 |teString|(outOnly|
|00005700| 2c 74 68 69 73 50 61 72 | 61 6d 29 20 61 66 74 65 |,thisPar|am) afte|
|00005710| 72 20 6e 65 77 50 61 72 | 61 6d 0d 65 6c 73 65 0d |r newPar|am.else.|
|00005720| 70 75 74 20 22 2c 22 20 | 61 66 74 65 72 20 6e 65 |put "," |after ne|
|00005730| 77 50 61 72 61 6d 0d 65 | 6e 64 20 69 66 0d 70 75 |wParam.e|nd if.pu|
|00005740| 74 20 6e 65 77 50 61 72 | 61 6d 20 69 6e 74 6f 20 |t newPar|am into |
|00005750| 6c 69 6e 65 20 69 20 6f | 66 20 70 61 72 61 6d 49 |line i o|f paramI|
|00005760| 6e 66 6f 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 |nfo.end |repeat.i|
|00005770| 66 20 6f 75 74 4f 6e 6c | 79 20 3c 3e 20 22 74 72 |f outOnl|y <> "tr|
|00005780| 75 65 22 20 74 68 65 6e | 0d 64 6f 20 22 70 75 74 |ue" then|.do "put|
|00005790| 20 70 61 72 61 6d 49 6e | 66 6f 20 69 6e 74 6f 22 | paramIn|fo into"|
|000057a0| 20 26 26 20 63 68 75 6e | 6b 4e 61 6d 65 0d 65 6e | && chun|kName.en|
|000057b0| 64 20 69 66 0d 65 6e 64 | 20 54 72 61 6e 73 6c 61 |d if.end| Transla|
|000057c0| 74 65 47 72 6f 75 70 0d | 0d 66 75 6e 63 74 69 6f |teGroup.|.functio|
|000057d0| 6e 20 54 72 61 6e 73 6c | 61 74 65 53 74 72 69 6e |n Transl|ateStrin|
|000057e0| 67 20 6f 75 74 4f 6e 6c | 79 2c 20 73 74 72 69 6e |g outOnl|y, strin|
|000057f0| 67 0d 69 66 20 6f 75 74 | 4f 6e 6c 79 20 3d 20 22 |g.if out|Only = "|
|00005800| 74 72 75 65 22 20 74 68 | 65 6e 0d 73 65 74 20 63 |true" th|en.set c|
|00005810| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 55 70 |ursor to| busy.Up|
|00005820| 64 61 74 65 54 61 62 6c | 65 20 73 74 72 69 6e 67 |dateTabl|e string|
|00005830| 2c 20 73 74 72 69 6e 67 | 20 26 20 22 27 73 20 74 |, string| & "'s t|
|00005840| 72 61 6e 73 6c 61 74 69 | 6f 6e 22 0d 72 65 74 75 |ranslati|on".retu|
|00005850| 72 6e 20 73 74 72 69 6e | 67 0d 65 6c 73 65 0d 70 |rn strin|g.else.p|
|00005860| 75 74 20 54 72 61 6e 73 | 6c 61 74 65 54 68 69 73 |ut Trans|lateThis|
|00005870| 28 73 74 72 69 6e 67 29 | 20 69 6e 74 6f 20 69 74 |(string)| into it|
|00005880| 0d 69 66 20 6f 75 74 4f | 6e 6c 79 20 3d 20 22 6e |.if outO|nly = "n|
|00005890| 6f 22 20 74 68 65 6e 20 | 2d 2d 20 77 65 20 64 6f |o" then |-- we do|
|000058a0| 20 6e 6f 74 20 6e 65 65 | 64 20 74 6f 20 63 6f 6e | not nee|d to con|
|000058b0| 66 69 72 6d 0d 69 66 20 | 69 74 20 3c 3e 20 22 40 |firm.if |it <> "@|
|000058c0| 23 24 25 22 20 74 68 65 | 6e 20 2d 2d 20 77 65 20 |#$%" the|n -- we |
|000058d0| 68 61 76 65 20 61 20 74 | 72 61 6e 73 6c 61 74 69 |have a t|ranslati|
|000058e0| 6f 6e 0d 72 65 74 75 72 | 6e 20 69 74 20 2d 2d 20 |on.retur|n it -- |
|000058f0| 64 6f 6e 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |done.end| if.end |
|00005900| 69 66 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6f |if.put i|t into o|
|00005910| 6c 64 54 72 61 6e 73 0d | 69 66 20 69 74 20 3d 20 |ldTrans.|if it = |
|00005920| 22 40 23 24 25 22 20 74 | 68 65 6e 20 2d 2d 20 77 |"@#$%" t|hen -- w|
|00005930| 65 20 64 6f 20 6e 6f 74 | 20 68 61 76 65 20 61 20 |e do not| have a |
|00005940| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 0d 70 75 74 20 |translat|ion.put |
|00005950| 73 74 72 69 6e 67 20 69 | 6e 74 6f 20 69 74 0d 65 |string i|nto it.e|
|00005960| 6e 64 20 69 66 0d 61 73 | 6b 20 22 54 72 61 6e 73 |nd if.as|k "Trans|
|00005970| 6c 61 74 65 22 20 26 26 | 20 71 75 6f 74 65 20 26 |late" &&| quote &|
|00005980| 20 73 74 72 69 6e 67 20 | 26 20 71 75 6f 74 65 20 | string |& quote |
|00005990| 26 26 20 22 74 6f 3a 22 | 20 77 69 74 68 20 69 74 |&& "to:"| with it|
|000059a0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 3d |.if the |result =|
|000059b0| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 0d 43 | "Cancel|" then.C|
|000059c0| 6f 6e 73 74 72 75 63 74 | 4c 69 6e 6b 0d 65 78 69 |onstruct|Link.exi|
|000059d0| 74 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 65 |t to Hyp|erCard.e|
|000059e0| 6c 73 65 0d 69 66 20 28 | 6f 6c 64 54 72 61 6e 73 |lse.if (|oldTrans|
|000059f0| 20 3c 3e 20 69 74 29 20 | 61 6e 64 20 28 73 74 72 | <> it) |and (str|
|00005a00| 69 6e 67 20 3c 3e 20 69 | 74 29 20 74 68 65 6e 20 |ing <> i|t) then |
|00005a10| 2d 2d 20 74 68 69 73 20 | 69 73 20 61 20 6e 65 77 |-- this |is a new|
|00005a20| 20 74 72 61 6e 73 6c 61 | 74 69 6f 6e 2c 20 75 70 | transla|tion, up|
|00005a30| 64 61 74 65 20 74 61 62 | 6c 65 0d 55 70 64 61 74 |date tab|le.Updat|
|00005a40| 65 54 61 62 6c 65 20 73 | 74 72 69 6e 67 2c 20 69 |eTable s|tring, i|
|00005a50| 74 0d 65 6e 64 20 69 66 | 0d 72 65 74 75 72 6e 20 |t.end if|.return |
|00005a60| 69 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |it.end i|f.end if|
|00005a70| 0d 65 6e 64 20 54 72 61 | 6e 73 6c 61 74 65 53 74 |.end Tra|nslateSt|
|00005a80| 72 69 6e 67 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 54 |ring..fu|nction T|
|00005a90| 72 61 6e 73 6c 61 74 65 | 54 68 69 73 20 73 74 72 |ranslate|This str|
|00005aa0| 69 6e 67 0d 67 6c 6f 62 | 61 6c 20 74 72 61 6e 73 |ing.glob|al trans|
|00005ab0| 6c 61 74 69 6f 6e 54 61 | 62 6c 65 0d 69 66 20 74 |lationTa|ble.if t|
|00005ac0| 72 61 6e 73 6c 61 74 69 | 6f 6e 54 61 62 6c 65 20 |ranslati|onTable |
|00005ad0| 3c 3e 20 22 22 20 74 68 | 65 6e 0d 70 75 74 20 53 |<> "" th|en.put S|
|00005ae0| 65 61 72 63 68 28 74 72 | 61 6e 73 6c 61 74 69 6f |earch(tr|anslatio|
|00005af0| 6e 54 61 62 6c 65 2c 20 | 73 74 72 69 6e 67 20 26 |nTable, |string &|
|00005b00| 20 72 65 74 75 72 6e 2c | 20 74 72 75 65 2c 20 74 | return,| true, t|
|00005b10| 72 75 65 29 20 69 6e 74 | 6f 20 6c 69 6e 65 4c 69 |rue) int|o lineLi|
|00005b20| 73 74 0d 70 75 74 20 6e | 75 6d 62 65 72 20 6f 66 |st.put n|umber of|
|00005b30| 20 6c 69 6e 65 73 20 69 | 6e 20 6c 69 6e 65 4c 69 | lines i|n lineLi|
|00005b40| 73 74 20 69 6e 74 6f 20 | 6e 0d 72 65 70 65 61 74 |st into |n.repeat|
|00005b50| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|00005b60| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 6c |.put ite|m 1 of l|
|00005b70| 69 6e 65 20 69 20 6f 66 | 20 6c 69 6e 65 4c 69 73 |ine i of| lineLis|
|00005b80| 74 20 69 6e 74 6f 20 6a | 0d 69 66 20 28 6a 20 6d |t into j|.if (j m|
|00005b90| 6f 64 20 32 29 20 3d 20 | 31 20 74 68 65 6e 0d 69 |od 2) = |1 then.i|
|00005ba0| 66 20 6c 69 6e 65 20 6a | 20 6f 66 20 74 72 61 6e |f line j| of tran|
|00005bb0| 73 6c 61 74 69 6f 6e 54 | 61 62 6c 65 20 3d 20 73 |slationT|able = s|
|00005bc0| 74 72 69 6e 67 20 74 68 | 65 6e 0d 72 65 74 75 72 |tring th|en.retur|
|00005bd0| 6e 20 6c 69 6e 65 20 6a | 2b 31 20 6f 66 20 74 72 |n line j|+1 of tr|
|00005be0| 61 6e 73 6c 61 74 69 6f | 6e 54 61 62 6c 65 0d 65 |anslatio|nTable.e|
|00005bf0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00005c00| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 72 | repeat.|end if.r|
|00005c10| 65 74 75 72 6e 20 22 40 | 23 24 25 22 0d 65 6e 64 |eturn "@|#$%".end|
|00005c20| 20 54 72 61 6e 73 6c 61 | 74 65 54 68 69 73 0d 0d | Transla|teThis..|
|00005c30| 6f 6e 20 55 70 64 61 74 | 65 54 61 62 6c 65 20 73 |on Updat|eTable s|
|00005c40| 6f 75 72 63 65 2c 74 72 | 61 6e 73 6c 61 74 69 6f |ource,tr|anslatio|
|00005c50| 6e 0d 67 6c 6f 62 61 6c | 20 74 72 61 6e 73 6c 61 |n.global| transla|
|00005c60| 74 69 6f 6e 54 61 62 6c | 65 0d 70 75 74 20 53 65 |tionTabl|e.put Se|
|00005c70| 61 72 63 68 28 74 72 61 | 6e 73 6c 61 74 69 6f 6e |arch(tra|nslation|
|00005c80| 54 61 62 6c 65 2c 20 73 | 6f 75 72 63 65 20 26 20 |Table, s|ource & |
|00005c90| 72 65 74 75 72 6e 2c 20 | 74 72 75 65 2c 20 74 72 |return, |true, tr|
|00005ca0| 75 65 29 20 69 6e 74 6f | 20 6c 69 6e 65 4c 69 73 |ue) into| lineLis|
|00005cb0| 74 0d 70 75 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t.put nu|mber of |
|00005cc0| 6c 69 6e 65 73 20 69 6e | 20 6c 69 6e 65 4c 69 73 |lines in| lineLis|
|00005cd0| 74 20 69 6e 74 6f 20 6e | 0d 72 65 70 65 61 74 20 |t into n|.repeat |
|00005ce0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 6e 0d |with i =| 1 to n.|
|00005cf0| 70 75 74 20 69 74 65 6d | 20 31 20 6f 66 20 6c 69 |put item| 1 of li|
|00005d00| 6e 65 20 69 20 6f 66 20 | 6c 69 6e 65 4c 69 73 74 |ne i of |lineList|
|00005d10| 20 69 6e 74 6f 20 6a 0d | 69 66 20 28 6a 20 6d 6f | into j.|if (j mo|
|00005d20| 64 20 32 29 20 3d 20 31 | 20 74 68 65 6e 0d 69 66 |d 2) = 1| then.if|
|00005d30| 20 6c 69 6e 65 20 6a 20 | 6f 66 20 74 72 61 6e 73 | line j |of trans|
|00005d40| 6c 61 74 69 6f 6e 54 61 | 62 6c 65 20 3d 20 73 6f |lationTa|ble = so|
|00005d50| 75 72 63 65 20 74 68 65 | 6e 0d 2d 2d 20 74 72 61 |urce the|n.-- tra|
|00005d60| 6e 73 6c 61 74 69 6f 6e | 20 63 68 61 6e 67 65 64 |nslation| changed|
|00005d70| 2c 20 77 65 20 75 70 64 | 61 74 65 20 69 74 0d 70 |, we upd|ate it.p|
|00005d80| 75 74 20 74 72 61 6e 73 | 6c 61 74 69 6f 6e 20 69 |ut trans|lation i|
|00005d90| 6e 74 6f 20 6c 69 6e 65 | 20 6a 2b 31 20 6f 66 20 |nto line| j+1 of |
|00005da0| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 54 61 62 6c 65 |translat|ionTable|
|00005db0| 0d 65 78 69 74 20 55 70 | 64 61 74 65 54 61 62 6c |.exit Up|dateTabl|
|00005dc0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |e.end if|.end if.|
|00005dd0| 65 6e 64 20 72 65 70 65 | 61 74 0d 2d 2d 20 6e 65 |end repe|at.-- ne|
|00005de0| 77 20 74 72 61 6e 73 6c | 61 74 69 6f 6e 2c 20 77 |w transl|ation, w|
|00005df0| 65 20 61 64 64 20 74 6f | 20 74 68 65 20 65 6e 64 |e add to| the end|
|00005e00| 20 6f 66 20 74 68 65 20 | 74 61 62 6c 65 0d 70 75 | of the |table.pu|
|00005e10| 74 20 73 6f 75 72 63 65 | 20 26 20 72 65 74 75 72 |t source| & retur|
|00005e20| 6e 20 26 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 20 |n & tran|slation |
|00005e30| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |& return| after t|
|00005e40| 72 61 6e 73 6c 61 74 69 | 6f 6e 54 61 62 6c 65 0d |ranslati|onTable.|
|00005e50| 65 6e 64 20 55 70 64 61 | 74 65 54 61 62 6c 65 0d |end Upda|teTable.|
|00005e60| 0d 6f 6e 20 43 6f 6e 73 | 74 72 75 63 74 4c 69 6e |.on Cons|tructLin|
|00005e70| 6b 0d 67 6c 6f 62 61 6c | 20 69 6e 45 64 69 74 0d |k.global| inEdit.|
|00005e80| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 69 |put fals|e into i|
|00005e90| 6e 45 64 69 74 0d 70 75 | 74 20 68 69 6c 69 74 65 |nEdit.pu|t hilite|
|00005ea0| 20 6f 66 20 63 61 72 64 | 20 62 75 74 74 6f 6e 20 | of card| button |
|00005eb0| 69 64 20 38 20 6f 66 20 | 63 61 72 64 20 22 70 72 |id 8 of |card "pr|
|00005ec0| 65 66 65 72 65 6e 63 65 | 22 20 69 6e 74 6f 20 73 |eference|" into s|
|00005ed0| 6f 72 74 4e 61 6d 65 0d | 70 75 74 20 68 69 6c 69 |ortName.|put hili|
|00005ee0| 74 65 20 6f 66 20 63 61 | 72 64 20 62 75 74 74 6f |te of ca|rd butto|
|00005ef0| 6e 20 69 64 20 32 36 20 | 6f 66 20 63 61 72 64 20 |n id 26 |of card |
|00005f00| 22 70 72 65 66 65 72 65 | 6e 63 65 22 20 69 6e 74 |"prefere|nce" int|
|00005f10| 6f 20 63 6c 65 61 6e 46 | 6c 61 67 0d 69 66 20 73 |o cleanF|lag.if s|
|00005f20| 6f 72 74 4e 61 6d 65 20 | 74 68 65 6e 0d 73 65 74 |ortName |then.set|
|00005f30| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00005f40| 73 6f 72 74 20 62 6b 67 | 6e 64 20 22 65 76 65 6e |sort bkg|nd "even|
|00005f50| 74 73 22 20 62 79 20 52 | 65 73 54 79 70 65 28 66 |ts" by R|esType(f|
|00005f60| 69 65 6c 64 20 22 53 75 | 69 74 65 43 6f 64 65 22 |ield "Su|iteCode"|
|00005f70| 29 20 26 20 66 69 65 6c | 64 20 22 65 76 65 6e 74 |) & fiel|d "event|
|00005f80| 4e 61 6d 65 22 0d 73 65 | 74 20 63 75 72 73 6f 72 |Name".se|t cursor|
|00005f90| 20 74 6f 20 62 75 73 79 | 0d 73 6f 72 74 20 62 6b | to busy|.sort bk|
|00005fa0| 67 6e 64 20 22 63 6c 61 | 73 73 22 20 62 79 20 52 |gnd "cla|ss" by R|
|00005fb0| 65 73 54 79 70 65 28 66 | 69 65 6c 64 20 22 53 75 |esType(f|ield "Su|
|00005fc0| 69 74 65 43 6f 64 65 22 | 29 20 26 20 66 69 65 6c |iteCode"|) & fiel|
|00005fd0| 64 20 22 63 6c 61 73 73 | 4e 61 6d 65 22 0d 73 65 |d "class|Name".se|
|00005fe0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00005ff0| 0d 73 6f 72 74 20 62 6b | 67 6e 64 20 22 63 6f 6d |.sort bk|gnd "com|
|00006000| 70 61 72 69 73 6f 6e 22 | 20 62 79 20 52 65 73 54 |parison"| by ResT|
|00006010| 79 70 65 28 66 69 65 6c | 64 20 22 53 75 69 74 65 |ype(fiel|d "Suite|
|00006020| 43 6f 64 65 22 29 20 26 | 20 66 69 65 6c 64 20 22 |Code") &| field "|
|00006030| 63 6f 6d 70 61 72 65 4e | 61 6d 65 22 0d 73 65 74 |compareN|ame".set|
|00006040| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00006050| 73 6f 72 74 20 62 6b 67 | 6e 64 20 22 65 6e 75 6d |sort bkg|nd "enum|
|00006060| 65 72 61 74 69 6f 6e 22 | 20 62 79 20 52 65 73 54 |eration"| by ResT|
|00006070| 79 70 65 28 66 69 65 6c | 64 20 22 53 75 69 74 65 |ype(fiel|d "Suite|
|00006080| 43 6f 64 65 22 29 20 26 | 20 66 69 65 6c 64 20 22 |Code") &| field "|
|00006090| 65 6e 75 6d 65 72 61 74 | 69 6f 6e 22 0d 65 6c 73 |enumerat|ion".els|
|000060a0| 65 0d 73 6f 72 74 20 62 | 6b 67 6e 64 20 22 65 76 |e.sort b|kgnd "ev|
|000060b0| 65 6e 74 73 22 20 62 79 | 20 66 69 65 6c 64 20 22 |ents" by| field "|
|000060c0| 53 75 69 74 65 43 6f 64 | 65 22 0d 73 6f 72 74 20 |SuiteCod|e".sort |
|000060d0| 62 6b 67 6e 64 20 22 63 | 6c 61 73 73 22 20 62 79 |bkgnd "c|lass" by|
|000060e0| 20 66 69 65 6c 64 20 22 | 53 75 69 74 65 43 6f 64 | field "|SuiteCod|
|000060f0| 65 22 0d 73 6f 72 74 20 | 62 6b 67 6e 64 20 22 63 |e".sort |bkgnd "c|
|00006100| 6f 6d 70 61 72 69 73 6f | 6e 22 20 62 79 20 66 69 |ompariso|n" by fi|
|00006110| 65 6c 64 20 22 53 75 69 | 74 65 43 6f 64 65 22 0d |eld "Sui|teCode".|
|00006120| 73 6f 72 74 20 62 6b 67 | 6e 64 20 22 65 6e 75 6d |sort bkg|nd "enum|
|00006130| 65 72 61 74 69 6f 6e 22 | 20 62 79 20 66 69 65 6c |eration"| by fiel|
|00006140| 64 20 22 53 75 69 74 65 | 43 6f 64 65 22 0d 65 6e |d "Suite|Code".en|
|00006150| 64 20 69 66 0d 70 75 74 | 20 6e 75 6d 62 65 72 20 |d if.put| number |
|00006160| 6f 66 20 63 61 72 64 73 | 20 69 6e 20 62 6b 67 6e |of cards| in bkgn|
|00006170| 64 20 22 73 75 69 74 65 | 49 6e 66 6f 22 20 69 6e |d "suite|Info" in|
|00006180| 74 6f 20 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |to n.rep|eat with|
|00006190| 20 69 20 3d 20 32 20 74 | 6f 20 6e 0d 67 6f 20 63 | i = 2 t|o n.go c|
|000061a0| 61 72 64 20 6e 20 6f 66 | 20 62 6b 67 6e 64 20 22 |ard n of| bkgnd "|
|000061b0| 73 75 69 74 65 49 6e 66 | 6f 22 0d 2d 2d 20 63 6c |suiteInf|o".-- cl|
|000061c0| 65 61 72 20 65 76 65 72 | 79 74 68 69 6e 67 0d 70 |ear ever|ything.p|
|000061d0| 75 74 20 22 22 20 69 6e | 74 6f 20 66 69 65 6c 64 |ut "" in|to field|
|000061e0| 20 22 65 76 65 6e 74 4c | 69 73 74 22 0d 70 75 74 | "eventL|ist".put|
|000061f0| 20 22 22 20 69 6e 74 6f | 20 66 69 65 6c 64 20 22 | "" into| field "|
|00006200| 63 6c 61 73 73 4c 69 73 | 74 22 0d 70 75 74 20 22 |classLis|t".put "|
|00006210| 22 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 63 6f |" into f|ield "co|
|00006220| 6d 70 61 72 65 4c 69 73 | 74 22 0d 70 75 74 20 22 |mpareLis|t".put "|
|00006230| 22 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 65 6e |" into f|ield "en|
|00006240| 75 6d 4c 69 73 74 22 0d | 65 6e 64 20 72 65 70 65 |umList".|end repe|
|00006250| 61 74 0d 43 6c 65 61 6e | 54 79 70 65 20 66 61 6c |at.Clean|Type fal|
|00006260| 73 65 2c 20 22 63 6c 61 | 73 73 22 2c 22 63 6c 61 |se, "cla|ss","cla|
|00006270| 73 73 4c 69 73 74 22 2c | 22 63 6c 61 73 73 4e 61 |ssList",|"classNa|
|00006280| 6d 65 22 2c 22 63 6c 61 | 73 73 49 44 22 0d 43 6c |me","cla|ssID".Cl|
|00006290| 65 61 6e 54 79 70 65 20 | 66 61 6c 73 65 2c 20 22 |eanType |false, "|
|000062a0| 63 6f 6d 70 61 72 69 73 | 6f 6e 22 2c 22 63 6f 6d |comparis|on","com|
|000062b0| 70 61 72 65 4c 69 73 74 | 22 2c 22 63 6f 6d 70 61 |pareList|","compa|
|000062c0| 72 65 4e 61 6d 65 22 2c | 22 63 6f 6d 70 61 72 65 |reName",|"compare|
|000062d0| 49 44 22 0d 43 6c 65 61 | 6e 54 79 70 65 20 66 61 |ID".Clea|nType fa|
|000062e0| 6c 73 65 2c 20 22 65 6e | 75 6d 65 72 61 74 69 6f |lse, "en|umeratio|
|000062f0| 6e 22 2c 22 65 6e 75 6d | 4c 69 73 74 22 2c 22 65 |n","enum|List","e|
|00006300| 6e 75 6d 65 72 61 74 69 | 6f 6e 22 0d 43 6c 65 61 |numerati|on".Clea|
|00006310| 6e 54 79 70 65 20 63 6c | 65 61 6e 46 6c 61 67 2c |nType cl|eanFlag,|
|00006320| 20 22 65 76 65 6e 74 73 | 22 2c 22 65 76 65 6e 74 | "events|","event|
|00006330| 4c 69 73 74 22 2c 22 65 | 76 65 6e 74 4e 61 6d 65 |List","e|ventName|
|00006340| 22 2c 22 65 76 65 6e 74 | 43 6c 61 73 73 22 2c 22 |","event|Class","|
|00006350| 65 76 65 6e 74 49 44 22 | 0d 70 75 74 20 6e 75 6d |eventID"|.put num|
|00006360| 62 65 72 20 6f 66 20 63 | 61 72 64 73 20 69 6e 20 |ber of c|ards in |
|00006370| 62 6b 67 6e 64 20 22 73 | 75 69 74 65 49 6e 66 6f |bkgnd "s|uiteInfo|
|00006380| 22 20 69 6e 74 6f 20 69 | 0d 70 75 74 20 22 22 20 |" into i|.put "" |
|00006390| 69 6e 74 6f 20 73 75 69 | 74 65 4c 69 73 74 0d 72 |into sui|teList.r|
|000063a0| 65 70 65 61 74 20 77 68 | 69 6c 65 20 69 20 3e 20 |epeat wh|ile i > |
|000063b0| 31 0d 67 6f 20 63 61 72 | 64 20 69 20 6f 66 20 62 |1.go car|d i of b|
|000063c0| 6b 67 6e 64 20 22 73 75 | 69 74 65 49 6e 66 6f 22 |kgnd "su|iteInfo"|
|000063d0| 0d 69 66 20 66 69 65 6c | 64 20 22 73 75 69 74 65 |.if fiel|d "suite|
|000063e0| 43 6f 64 65 22 20 3d 20 | 22 22 20 74 68 65 6e 0d |Code" = |"" then.|
|000063f0| 64 6f 6d 65 6e 75 20 22 | 64 65 6c 65 74 65 20 43 |domenu "|delete C|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.